Database.DatabaseSnapshotBaseName Property
Gets the name of the snapshot base for the database.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property DatabaseSnapshotBaseName As String
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string DatabaseSnapshotBaseName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
virtual property String^ DatabaseSnapshotBaseName {
String^ get () sealed;
void set (String^ value) sealed;
}
/** @property */
public final String get_DatabaseSnapshotBaseName ()
/** @property */
public final void set_DatabaseSnapshotBaseName (String value)
public final function get DatabaseSnapshotBaseName () : String
public final function set DatabaseSnapshotBaseName (value : String)
Property Value
A String value that uniquely specifies the name of the snapshot base for the database.
Remarks
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.
Example
Console.WriteLine(db.DatabaseSnapshotBaseName)
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.