Compartilhar via


Propriedade do RDL DeclareTableVariableBody.AsDefined

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 (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxe

'Declaração
Public Property AsDefined As Boolean 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

DeclareTableVariableBody Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom