This document is archived and information here might be outdated.  Recommended version.


IGxGDSConnection.RestoreGeodatabase Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Catalog)  

IGxGDSConnection.RestoreGeodatabase Method

Restores a backup to the specified Geodatabase.

[Visual Basic .NET]
Public Sub RestoreGeodatabase ( _
    ByVal gdbName As String, _
    ByVal backupFileName As String, _
    ByVal dbFileName As String _
)
[C#]
public void RestoreGeodatabase (
    string gdbName,
    string backupFileName,
    string dbFileName
);

Product Availability

Available with ArcGIS Desktop.

See Also

IGxGDSConnection Interface