This document is archived and information here might be outdated. Recommended version. |
Renames the remote database workspace connection file.
[Visual Basic .NET] Public Function RenameConnectionFile ( _ ByVal oldPathName As String, _ ByVal newName As String _ ) As IWorkspaceName
[C#] public IWorkspaceName RenameConnectionFile ( string oldPathName, string newName );
[C++]
HRESULT RenameConnectionFile(
BSTR oldPathName,
BSTR newName
);
[C++] Parameters oldPathName [in]
oldPathName is a parameter of type BSTR newName [in]
newName is a parameter of type BSTR
The oldPathName is the path and connection file name. the newName is the new file name without a path. An error is returned if newName has a fully qualified path.