共用方式為


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