TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Server::SetTraceFlag Method (Int32, Boolean)

 

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: System::Int32

The number of trace flag.

isOn
Type: System::Boolean

Indicates whether the trace is on.

Return to top
Show:
© 2016 Microsoft