AlterDatabaseStatement.UseCurrent Property

 

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)

public bool UseCurrent { get; set; }

Property Value

Type: System.Boolean

true if the current is specified instead of Database Name; otherwise, false.

Return to top
Show: