다음을 통해 공유


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