ExecuteAsStatement.Cookie Property
Gets or sets the cookie variable, if the WITH COOKIE option was used.
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
Public Property Cookie As VariableReference
Get
Set
'Usage
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)
Property Value
Type: Microsoft.SqlServer.TransactSql.ScriptDom.VariableReference
The cookie variable.