共用方式為


PhaseAttribute class

提供可用來將物件升級分成不同的階段屬性的定義。每個階段可以有一或多個升級序列。

Inheritance hierarchy

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

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

Syntax

'宣告
<AttributeUsageAttribute(AttributeTargets.Class)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class PhaseAttribute _
    Inherits Attribute
'用途
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.

請參閱

參照

PhaseAttribute members

Microsoft.SharePoint.Upgrade namespace