Export (0) Print
Expand All
Expand Minimize

Server.SetTraceFlag Method

Sets a trace flag.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

member SetTraceFlag : 
        number:int * 
        isOn:bool -> unit

Parameters

number
Type: Int32
The number of trace flag.
isOn
Type: Boolean
Indicates whether the trace is on.

Community Additions

ADD
Show:
© 2014 Microsoft