共用方式為


TraceLocks 屬性

Gets a server trace event category that can be included in the event set.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Shared ReadOnly Property TraceLocks As ServerTraceEvent
    Get
'用途
Dim value As ServerTraceEvent

value = ServerTraceEvent.TraceLocks
public static ServerTraceEvent TraceLocks { get; }
public:
static property ServerTraceEvent^ TraceLocks {
    ServerTraceEvent^ get ();
}
static member TraceLocks : ServerTraceEvent
static function get TraceLocks () : ServerTraceEvent

屬性值

型別:Microsoft.SqlServer.Management.Smo. . :: . .ServerTraceEvent
A ServerTraceEvent object that represents the TraceLocks event that can be included in the server trace event set.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。