This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.GetMachine Method (ArcObjects .NET 10.4 SDK) |
Get the host machine with the specified Name.
[Visual Basic .NET] Public Function GetMachine ( _ ByVal Name As String _ ) As IServerMachine
[C#] public IServerMachine GetMachine ( string Name );
[C++]
HRESULT GetMachine(
BSTR Name,
IServerMachine** Machine
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR Machine [out, retval]
Machine is a parameter of type IServerMachine
The GetMachine method returns the IServerMachine interface on the ServerMachine whoes name is specified. Once you have a reference to the ServerMachine, you can get and set its description, and use it as input the UpdateMachine method.