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


IServerConfigurationStorage.AddService Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Server)  

IServerConfigurationStorage.AddService Method

[Visual Basic .NET]
Public Sub AddService ( _
    ByVal ID As String, _
    ByVal definition As String _
)
[C#]
public void AddService (
    string ID,
    string definition
);
[C++]
HRESULT AddService(
  BSTR ID,
  BSTR definition
);
[C++]

Parameters ID [in]
ID is a parameter of type BSTR definition [in]
definition is a parameter of type BSTR

Product Availability

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

See Also

IServerConfigurationStorage Interface