Share via


StartEventTraceSessionPrivilegeAttribute class

如果服務已標示 StartEventTraceSessionPrivilegeAttribute 其使用者帳戶會新增至 PerformanceMonitoring 使用者群組

Inheritance hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.Administration.StartEventTraceSessionPrivilegeAttribute

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class StartEventTraceSessionPrivilegeAttribute _
    Inherits Attribute
'用途
Dim instance As StartEventTraceSessionPrivilegeAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class StartEventTraceSessionPrivilegeAttribute : Attribute

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

StartEventTraceSessionPrivilegeAttribute members

Microsoft.SharePoint.Administration namespace