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


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

IServerInfos.Add Method

Adds an IServerInfo object to the end of the collection.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal serverInfo As IServerInfo _
)
[C#]
public void Add (
    IServerInfo serverInfo
);
[C++]
HRESULT Add(
  IServerInfo* serverInfo
);
[C++]
Parameters
serverInfo [in]

serverInfo is a parameter of type IServerInfo*

Product Availability

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

See Also

IServerInfos Interface