Metodo Server.SetTraceFlag
Sets a trace flag.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub SetTraceFlag ( _
number As Integer, _
isOn As Boolean _
)
'Utilizzo
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
)
Parametri
- number
Tipo: System.Int32
Int32
- isOn
Tipo: System.Boolean
Boolean