다음을 통해 공유


ReadPerformanceCounterPrivilegeAttribute class

Specifies if a service is marked with ReadPerformanceCounterPrivilegeAttribute its user account is added to the performance logging user group.

Inheritance hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.Administration.ReadPerformanceCounterPrivilegeAttribute

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

Syntax

'Declaration
<SerializableAttribute> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class ReadPerformanceCounterPrivilegeAttribute _
    Inherits Attribute
'Usage
Dim instance As ReadPerformanceCounterPrivilegeAttribute
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class ReadPerformanceCounterPrivilegeAttribute : 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

ReadPerformanceCounterPrivilegeAttribute members

Microsoft.SharePoint.Administration namespace