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.

Community Additions

ADD
Show:
© 2014 Microsoft