다음을 통해 공유


SetTraceFlag 메서드

Sets a trace flag.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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
)

매개 변수