다음을 통해 공유


PhaseAttribute class

Provides a definition for an attribute that can be used to divide the upgrade of an object into distinct phases. Each phase can have one or more upgrade sequences.

Inheritance hierarchy

System.Object
  System.Attribute
    Microsoft.SharePoint.Upgrade.PhaseAttribute

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

Syntax

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

PhaseAttribute members

Microsoft.SharePoint.Upgrade namespace