This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > ID > IDataSourceHelperStandaloneTable Interface > IDataSourceHelperStandaloneTable.FindAndReplaceWorkspaceNamePath Method (ArcObjects .NET 10.5 SDK) |
Replaces the table's workspace path name with the given workspace path name; Also does find and replace of parts of the workspace path name.
[Visual Basic .NET] Public Sub FindAndReplaceWorkspaceNamePath ( _ ByVal pStandaloneTable As IStandaloneTable, _ ByVal oldWorkspaceName As String, _ ByVal newWorkspaceName As String, _ ByVal validate As Boolean _ )
[C#] public void FindAndReplaceWorkspaceNamePath ( IStandaloneTable pStandaloneTable, string oldWorkspaceName, string newWorkspaceName, bool validate );
[C++]
HRESULT FindAndReplaceWorkspaceNamePath(
IStandaloneTable* pStandaloneTable,
BSTR oldWorkspaceName,
BSTR newWorkspaceName,
VARIANT_BOOL validate
);
[C++]
Parameters pStandaloneTable [in]
pStandaloneTable is a parameter of type IStandaloneTable oldWorkspaceName [in] oldWorkspaceName is a parameter of type BSTR newWorkspaceName [in] newWorkspaceName is a parameter of type BSTR validate [in] validate is a parameter of type VARIANT_BOOL