Aracılığıyla paylaş


Server.SetTraceFlag Method

Sets a trace flag.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Bildirim
Public Sub SetTraceFlag ( _
    number As Integer, _
    isOn As Boolean _
)
'Kullanım
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
)

Parameters

See Also

Reference

Server Class

Microsoft.SqlServer.Management.Smo Namespace