This document is archived and information here might be outdated. Recommended version. |
Replaces the workspace connection string for all layers in the given map.
[Visual Basic .NET] Public Sub ReplaceAll ( _ ByVal mapPath As String, _ ByVal oldWorkspaceConnectionString As String, _ ByVal newWorkspaceConnectionString As String, _ ByVal validate As Boolean _ )
[C#] public void ReplaceAll ( string mapPath, string oldWorkspaceConnectionString, string newWorkspaceConnectionString, bool validate );
[C++]
HRESULT ReplaceAll(
BSTR mapPath,
BSTR oldWorkspaceConnectionString,
BSTR newWorkspaceConnectionString,
VARIANT_BOOL validate
);
[C++]
Parameters mapPath [in]
mapPath is a parameter of type BSTR oldWorkspaceConnectionString [in]
oldWorkspaceConnectionString is a parameter of type BSTR newWorkspaceConnectionString [in]
newWorkspaceConnectionString is a parameter of type BSTR validate [in]
validate is a parameter of type bool