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


IGxGDSConnection.RestoreGeodatabase Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Catalog > ESRI.ArcGIS.Catalog > Interfaces > IG > IGxGDSConnection Interface > IGxGDSConnection.RestoreGeodatabase Method
ArcGIS Developer Help

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