Delen via


CreateDatabaseStatement.DatabaseSnapshot Property

Gets or sets the database snapshot name.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property DatabaseSnapshot As Identifier 
    Get 
    Set
'Usage
Dim instance As CreateDatabaseStatement 
Dim value As Identifier 

value = instance.DatabaseSnapshot

instance.DatabaseSnapshot = value
public Identifier DatabaseSnapshot { get; set; }
public:
property Identifier^ DatabaseSnapshot {
    Identifier^ get ();
    void set (Identifier^ value);
}
member DatabaseSnapshot : Identifier with get, set
function get DatabaseSnapshot () : Identifier 
function set DatabaseSnapshot (value : Identifier)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.Identifier
The database snapshot name.

See Also

Reference

CreateDatabaseStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace