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


IPlugInWorkspaceFactoryHelper.OpenWorkspace Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

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,
  IPlugInWorkspaceHelper** wksHelper
);
[C++]

Parameters wksString [in] wksString is a parameter of type BSTR wksHelper [out, retval]
wksHelper is a parameter of type IPlugInWorkspaceHelper

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