Partager via


Propriété DeclareTableVariableBody.AsDefined

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

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
Public Property AsDefined As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Voir aussi

Référence

DeclareTableVariableBody Classe

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom