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


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

IServerObjectFactoryX.CreateServerObject Method

Creates a new server object given a CLSID.

[Visual Basic .NET]
Public Function CreateServerObject ( _
    ByVal CLSID As String, _
    ByVal cfgName As String, _
    ByVal cfgType As String, _
    ByVal ipProps As IPropertySet _
) As IServerObject
[C#]
public IServerObject CreateServerObject (
    string CLSID,
    string cfgName,
    string cfgType,
    IPropertySet ipProps
);
[C++]
HRESULT CreateServerObject(
  BSTR CLSID,
  BSTR cfgName,
  BSTR cfgType,
  IPropertySet* ipProps
);
[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 ipProps [in]
ipProps is a parameter of type IPropertySet*

Product Availability

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

See Also

IServerObjectFactoryX Interface