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)

public string DatabaseSnapshotBaseName { get; set; }
/** @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.

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.


Console.WriteLine(db.DatabaseSnapshotBaseName)

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.

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

Release

History

17 July 2006

Changed content:
  • Added text to the Remarks section.

  • Added code to the Example section.

Community Additions

ADD
Show:
© 2014 Microsoft