Поделиться через


Свойство DatabaseSnapshotBaseName

Gets the name of the snapshot base for the database.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property DatabaseSnapshotBaseName As String
    Get
    Set
'Применение
Dim instance As Database
Dim value As String

value = instance.DatabaseSnapshotBaseName

instance.DatabaseSnapshotBaseName = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string DatabaseSnapshotBaseName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
virtual property String^ DatabaseSnapshotBaseName {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
abstract DatabaseSnapshotBaseName : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
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)