Share via


OwnerAttribute Class

Provides a definition for an attribute that can be used to define an owner for a specific class.

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.Upgrade.OwnerAttribute

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

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class OwnerAttribute _
    Inherits Attribute
'Usage
Dim instance As OwnerAttribute
[AttributeUsageAttribute(AttributeTargets.Class)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class OwnerAttribute : 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

OwnerAttribute Members

Microsoft.SharePoint.Upgrade Namespace