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


IGeoDataServerInit.InitWithWorkspace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeodatabaseDistributed > ESRI.ArcGIS.GeoDatabaseDistributed > Interfaces > IG > IGeoDataServerInit Interface > IGeoDataServerInit.InitWithWorkspace Method
ArcGIS Developer Help

IGeoDataServerInit.InitWithWorkspace Method

Initializes a GeoDataServer object with a workspace.

[Visual Basic .NET]
Public Sub InitWithWorkspace ( _
    ByVal pWorkspace As IWorkspace _
)
[C#]
public void InitWithWorkspace (
    IWorkspace pWorkspace
);
[C++]
HRESULT InitWithWorkspace(
  IWorkspace* pWorkspace
);
[C++]
Parameters
pWorkspace [in]

pWorkspace is a parameter of type IWorkspace*

Product Availability

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

Remarks

The InitWithWorkspace method initializes a GeoDataServer object with a workspace object for the geodatabase.

See Also

IGeoDataServerInit Interface