StartEventTraceSessionPrivilegeAttribute class

If a service is marked with the StartEventTraceSessionPrivilegeAttribute its user account will be added to the PerformanceMonitoring user group

Inheritance hierarchy

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

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

Syntax

'Declaration
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class StartEventTraceSessionPrivilegeAttribute _
    Inherits Attribute
'Usage
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.

See also

Reference

StartEventTraceSessionPrivilegeAttribute members

Microsoft.SharePoint.Administration namespace