ArcObjects Library Reference (Carto)  

IMSDHelper.PutWorkspaceConnectionStringInLayer Method

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

[Visual Basic .NET]
Public Sub PutWorkspaceConnectionStringInLayer ( _
    ByVal layerPath As String, _
    ByVal workspaceConnectionString As String, _
    ByVal validate As Boolean _
)
[C#]
public void PutWorkspaceConnectionStringInLayer (
    string layerPath,
    string workspaceConnectionString,
    bool validate
);
[C++]
HRESULT PutWorkspaceConnectionStringInLayer(
  BSTR layerPath,
  BSTR workspaceConnectionString,
  VARIANT_BOOL validate
);
[C++]

Parameters

layerPath [in]   layerPath is a parameter of type BSTR workspaceConnectionString [in]   workspaceConnectionString is a parameter of type BSTR validate [in]   validate is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IMSDHelper Interface