This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.UpdateMachine Method (ArcObjects .NET 10.5 SDK) |
Updates the properties of a host machine.
[Visual Basic .NET] Public Sub UpdateMachine ( _ ByVal Machine As IServerMachine _ )
[C#] public void UpdateMachine ( IServerMachine Machine );
[C++]
HRESULT UpdateMachine(
IServerMachine* Machine
);
[C++]
Parameters Machine [in]
Machine is a parameter of type IServerMachine
The UpdateMachine method will update the host machine that is specified when the method is called. You can use the GetMachine or GetMachines methods on IServerObjectAdmin to get a reference to the machine you want to update.
The UpdateMachine is useful for modifying the machine's description.