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


IGeoDataServerInit.InitWithWorkspace Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabaseDistributed)  

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

.NET Related Topics

How to initialize a GeoDataServer object