Método Server.SetTraceFlag
Sets a trace flag.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub SetTraceFlag ( _
number As Integer, _
isOn As Boolean _
)
'Uso
Dim instance As Server
Dim number As Integer
Dim isOn As Boolean
instance.SetTraceFlag(number, isOn)
public void SetTraceFlag(
int number,
bool isOn
)
public:
void SetTraceFlag(
int number,
bool isOn
)
member SetTraceFlag :
number:int *
isOn:bool -> unit
public function SetTraceFlag(
number : int,
isOn : boolean
)
Parâmetros
- number
Tipo: System.Int32
Int32
- isOn
Tipo: System.Boolean
Boolean