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