Partilhar via


SPUsageReceiverDefinition Class

Encapsulates information about a usage receiver and how to instantiate it. This class is sealed and cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPAutoSerializingObject
    Microsoft.SharePoint.Administration.SPPersistedObject
      Microsoft.SharePoint.Administration.SPUsageReceiverDefinition

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<GuidAttribute("85cd3815-b2c6-4a64-9bca-63a17eb06930")> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public NotInheritable Class SPUsageReceiverDefinition _
    Inherits SPPersistedObject
'Usage
Dim instance As SPUsageReceiverDefinition
[GuidAttribute("85cd3815-b2c6-4a64-9bca-63a17eb06930")]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public sealed class SPUsageReceiverDefinition : SPPersistedObject

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

SPUsageReceiverDefinition Members

Microsoft.SharePoint.Administration Namespace