Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets whether CURRENT is specified instead of Database Name.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property UseCurrent As Boolean
Get
Set
'Usage
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)
Property Value
Type: System.Boolean
true if the current is specified instead of Database Name; otherwise, false.