ArcObjects Library Reference (Server)  

IServerMachine3.PortNumber Property

The port number of a port.

[Visual Basic .NET]
Public Function get_PortNumber ( _
    ByVal Name As String _
) As Integer
[C#]
public int get_PortNumber (
    string Name
);
[C++]
HRESULT get_PortNumber(
  BSTR Name,
  long* pNumber
);
[C++]

Parameters

Name [in]   Name is a parameter of type BSTR pNumber [out, retval]   pNumber is a parameter of type long

Product Availability

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

See Also

IServerMachine3 Interface