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
'Declaration
Public Property DatabaseSnapshotBaseName As String
public string DatabaseSnapshotBaseName { get; set; }
public:
property String^ DatabaseSnapshotBaseName {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_DatabaseSnapshotBaseName ()
/** @property */
public void set_DatabaseSnapshotBaseName (String value)
public function get DatabaseSnapshotBaseName () : String
public function set DatabaseSnapshotBaseName (value : String)
Property Value
A String value that uniquely specifies the name of the snapshot base for the database.
Remarks
Updated text:17 July 2006
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 when creating the snapshot.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
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 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
Database Class
Database Members
Microsoft.SqlServer.Management.Smo Namespace
Other Resources
How to: Create, Alter, and Remove a Database in Visual Basic .NET
Working with Snapshot Isolation
Creating, Altering, and Removing Databases
CREATE DATABASE (Transact-SQL)
Change History
Release |
History |
17 July 2006 |
Changed content:
|