ArcObjects Library Reference  (Server)    

IServerObjectAdmin.GetMachine Method

Get the host machine with the specified Name.

[Visual Basic 6.0]
Function GetMachine(
    ByVal Name As String _
) As IServerMachine
[Visual Basic .NET]
Public Function GetMachine ( _
    ByVal Name As String _
) As IServerMachine
[C#]
public IServerMachine GetMachine (
    string Name
);
[Java]
public IServerMachine getMachine (
    String Name
)
throws
    IOException,
    AutomationException
[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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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.

See Also

IServerObjectAdmin Interface