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