Compartilhar via


Propriedade do RDL AlterDatabaseStatement.UseCurrent

Gets or sets whether CURRENT is specified instead of Database Name.

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

Sintaxe

'Declaração
Public Property UseCurrent As Boolean 
    Get 
    Set
'Uso
Dim instance As AlterDatabaseStatement 
Dim value As Boolean 

value = instance.UseCurrent

instance.UseCurrent = value
public bool UseCurrent { get; set; }
public:
property bool UseCurrent {
    bool get ();
    void set (bool value);
}
member UseCurrent : bool with get, set
function get UseCurrent () : boolean 
function set UseCurrent (value : boolean)

Valor da propriedade

Tipo: System.Boolean
true if the current is specified instead of Database Name; otherwise, false.

Consulte também

Referência

AlterDatabaseStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom