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


IServerObjectFactory.CreateServerObject Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Server)  

IServerObjectFactory.CreateServerObject Method

Creates a server object outside of the server environment.

[Visual Basic .NET]
Public Function CreateServerObject ( _
    ByVal CLSID As String, _
    ByVal cfgName As String, _
    ByVal cfgType As String _
) As IServerObject
[C#]
public IServerObject CreateServerObject (
    string CLSID,
    string cfgName,
    string cfgType
);
[C++]
HRESULT CreateServerObject(
  BSTR CLSID,
  BSTR cfgName,
  BSTR cfgType,
  IServerObject** ppSO
);
[C++]

Parameters CLSID [in] CLSID is a parameter of type BSTR cfgName [in] cfgName is a parameter of type BSTR cfgType [in] cfgType is a parameter of type BSTR ppSO [out, retval]
ppSO is a parameter of type IServerObject

Product Availability

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

See Also

IServerObjectFactory Interface