Метод Server.SetTraceFlag
Sets a trace flag.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub SetTraceFlag ( _
number As Integer, _
isOn As Boolean _
)
'Применение
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
)
Параметры
- number
Тип: System.Int32
Int32
- isOn
Тип: System.Boolean
Boolean