Expand Minimize
This topic has not yet been rated - Rate this topic

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)
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
virtual property String^ DatabaseSnapshotBaseName {
	String^ get () sealed;
	void set (String^ value) sealed;
}

Property Value

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

Implements

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)
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.