Server.SetTraceFlag Method (Int32, Boolean)

 

Sets a trace flag.

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

No code example is currently available or this language may not be supported.

Parameters

number
Type: System.Int32

The number of trace flag.

isOn
Type: System.Boolean

Indicates whether the trace is on.

Return to top
Show: