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)

public void SetTraceFlag(
	int number,
	bool isOn
)

Parameters

number
Type: Int32
The number of trace flag.
isOn
Type: Boolean
Indicates whether the trace is on.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft