RestoreOptions.ReplaceDatabase 속성
Gets or sets SQL Server should create the specified database and its related files even if another database already exists with the same name
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.SmoExtended(Microsoft.SqlServer.SmoExtended.dll)
구문
‘선언
Public Property ReplaceDatabase As Boolean
Get
Set
‘사용 방법
Dim instance As RestoreOptions
Dim value As Boolean
value = instance.ReplaceDatabase
instance.ReplaceDatabase = value
public bool ReplaceDatabase { get; set; }
public:
property bool ReplaceDatabase {
bool get ();
void set (bool value);
}
member ReplaceDatabase : bool with get, set
function get ReplaceDatabase () : boolean
function set ReplaceDatabase (value : boolean)
속성 값
유형: System.Boolean
True if the SQL Server should create the specified database; otherwise, false.