This document is archived and information here might be outdated. Recommended version. |
Detachs a database from a server.
[Visual Basic .NET]
Public Sub DetachGeodatabase ( _
ByVal dbName As String _
)
[C#]
public void DetachGeodatabase (
string dbName
);
[C++]
HRESULT DetachGeodatabase(
BSTR dbName
);
[C++] Parameters dbName [in]
dbName is a parameter of type BSTR
This method detaches a Geodatabase from a database server. Once detached, the Geodatabase can be re-attached to this or some other database server. A Geodatabase cannot be detached while users are connected to it.
You must be a server administrator to perform this operation.