Compartilhar via


Propriedade do RDL OnOffSessionOption.OptionState

Gets or sets the session option value for TRACK_CAUSALITY and STARTUP_STATE options.

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

Sintaxe

'Declaração
Public Property OptionState As OptionState 
    Get 
    Set
'Uso
Dim instance As OnOffSessionOption 
Dim value As OptionState 

value = instance.OptionState

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

Valor da propriedade

Tipo: Microsoft.SqlServer.TransactSql.ScriptDom.OptionState
The session option value for TRACK_CAUSALITY and STARTUP_STATE options.

Consulte também

Referência

OnOffSessionOption Classe

Namespace Microsoft.SqlServer.TransactSql.ScriptDom