This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesGDB > ESRI.ArcGIS.DataSourcesGDB > Interfaces > ID > IDataServerManagerAdmin Interface > IDataServerManagerAdmin.SetGeodatabaseToSimpleRecoveryModel Method (ArcObjects .NET 10.4 SDK) |
Sets a Geodatabase to simple recovery model.
[Visual Basic .NET] Public Sub SetGeodatabaseToSimpleRecoveryModel ( _ ByVal gdbName As String _ )
[C#] public void SetGeodatabaseToSimpleRecoveryModel ( string gdbName );
[C++]
HRESULT SetGeodatabaseToSimpleRecoveryModel(
BSTR gdbName
);
[C++]
Parameters gdbName [in] gdbName is a parameter of type BSTR
This method sets the Geodatabase to simple recovery model, which is required for backup/restore tools to work. It is not necessary to use this method when calling the BackupGeodatabase or RestoreGeodatabase methods.
Executing this method is only necessary if the geodatabase recovery model option has been modified outside of ArcGIS. Geodatabase created within ArcGIS will always use the simple recovery method.