Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DatabaseSnapshotBaseName Property
Collapse the table of content
Expand the table of content

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 string DatabaseSnapshotBaseName { get; set; }

Property Value

Type: 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)

Community Additions

ADD
Show:
© 2015 Microsoft