Compartilhar via


Propriedade do RDL ExecuteAsStatement.Cookie

Gets or sets the cookie variable, if the WITH COOKIE option was used.

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

Sintaxe

'Declaração
Public Property Cookie As VariableReference 
    Get 
    Set
'Uso
Dim instance As ExecuteAsStatement 
Dim value As VariableReference 

value = instance.Cookie

instance.Cookie = value
public VariableReference Cookie { get; set; }
public:
property VariableReference^ Cookie {
    VariableReference^ get ();
    void set (VariableReference^ value);
}
member Cookie : VariableReference with get, set
function get Cookie () : VariableReference 
function set Cookie (value : VariableReference)

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.VariableReference
The cookie variable.

Consulte também

Referência

ExecuteAsStatement Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom