Share via


DeclareTableVariableBody.AsDefined Property

Gets or sets a value that indicates whether the optional AS was used. Required to distinguish between Sql80 and Sql90.

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

Syntax

'Declaration
Public Property AsDefined As Boolean 
    Get 
    Set
'Usage
Dim instance As DeclareTableVariableBody 
Dim value As Boolean 

value = instance.AsDefined

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

Property Value

Type: System.Boolean
True if the optional AS was used; otherwise, false.

See Also

Reference

DeclareTableVariableBody Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace