This document is archived and information here might be outdated.  Recommended version.

IServerObjectAdmin.GetMachine Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerObjectAdmin Interface > IServerObjectAdmin.GetMachine Method
ArcGIS Developer Help

IServerObjectAdmin.GetMachine Method

Get the host machine with the specified Name.

[Visual Basic .NET]
Public Function GetMachine ( _
    ByVal Name As String _
) As IServerMachine
public IServerMachine GetMachine (
    string Name
HRESULT GetMachine(
  BSTR Name
Name [in]

Name is a parameter of type BSTR

Product Availability

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


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