Export (0) Print
Expand All
Expand Minimize

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)

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public Property DatabaseSnapshotBaseName As String 
	Get 
	Set
'Usage
Dim instance As Database 
Dim value As String 

value = instance.DatabaseSnapshotBaseName

instance.DatabaseSnapshotBaseName = value

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)
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft