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


IPlugInWorkspaceFactoryHelper.OpenWorkspace Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IP > IPlugInWorkspaceFactoryHelper Interface > IPlugInWorkspaceFactoryHelper.OpenWorkspace Method
ArcGIS Developer Help

IPlugInWorkspaceFactoryHelper.OpenWorkspace Method

Opens a workspace helper for the workspace identified by the workspace string.

[Visual Basic .NET]
Public Function OpenWorkspace ( _
    ByVal wksString As String _
) As IPlugInWorkspaceHelper
[C#]
public IPlugInWorkspaceHelper OpenWorkspace (
    string wksString
);
[C++]
HRESULT OpenWorkspace(
  BSTR wksString
);
[C++]
Parameters
wksString [in]

wksString is a parameter of type BSTR

Product Availability

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

Description

Creates and initializes an instance of the workspace helper class and returns its IPlugInWorkspaceHelper pointer. The wksString may have been obtained from GetWorkspaceString, or it may be a custom string specified to IWorkspaceFactory::Open.  If the wksString is not valid, the method should fail and return a null pointer.

See Also

IPlugInWorkspaceFactoryHelper Interface | IPlugInWorkspaceHelper Interface