Database.DatabaseSnapshotBaseName 속성

Gets the name of the snapshot base for the database.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property DatabaseSnapshotBaseName As String 
    Get 
    Set
‘사용 방법
Dim instance As Database 
Dim value As String 

value = instance.DatabaseSnapshotBaseName

instance.DatabaseSnapshotBaseName = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public string DatabaseSnapshotBaseName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property String^ DatabaseSnapshotBaseName {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
abstract DatabaseSnapshotBaseName : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
override DatabaseSnapshotBaseName : string with get, set
final function get DatabaseSnapshotBaseName () : String 
final function set DatabaseSnapshotBaseName (value : String)

속성 값

유형: System.String
A String value that uniquely specifies the name of the snapshot base for the database.

구현

IDatabaseOptions.DatabaseSnapshotBaseName

주의

A database snapshot is a copy of the database at a point in time. The database snapshot base is the source database that is used to create the snapshot.

Console.WriteLine(db.DatabaseSnapshotBaseName)

참고 항목

참조

Database 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

데이터베이스 개체 작업

스냅숏 격리 작업

데이터베이스 생성, 변경 및 제거

CREATE DATABASE(Transact-SQL)