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: System.Int32
Int32
isOn
Type: System.Boolean
Boolean

Community Additions

ADD
Show: