This document is archived and information here might be outdated. Recommended version. |
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 bool