Database.DatabaseSnapshotBaseName Database.DatabaseSnapshotBaseName Database.DatabaseSnapshotBaseName Property

Definition

Gets the name of the snapshot base for the database.

public:
 property System::String ^ DatabaseSnapshotBaseName { System::String ^ get(); void set(System::String ^ value); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcProperty(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.ReadOnlyAfterCreation | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.Standalone | Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcPropertyFlags.SqlAzureDatabase)]
public string DatabaseSnapshotBaseName { get; set; }
Public Property DatabaseSnapshotBaseName As String
Property Value

A String value that uniquely specifies the name of the snapshot base for the database.

Examples

Console.WriteLine(db.DatabaseSnapshotBaseName)  

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.

Applies to