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


IMSDHelper.GetWorkspaceConnectionStringFromLayer Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMSDHelper.GetWorkspaceConnectionStringFromLayer Method

Given the layer's catalog path, returns the workspace connection string.

[Visual Basic .NET]
Public Function GetWorkspaceConnectionStringFromLayer ( _
    ByVal layerPath As String _
) As String
[C#]
public string GetWorkspaceConnectionStringFromLayer (
    string layerPath
);
[C++]
HRESULT GetWorkspaceConnectionStringFromLayer(
  BSTR layerPath,
  BSTR* workspaceConnectionString
);
[C++]

Parameters layerPath [in] layerPath is a parameter of type BSTR workspaceConnectionString [out, retval] workspaceConnectionString is a parameter of type BSTR

Product Availability

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

See Also

IMSDHelper Interface