共用方式為


TargetSchemaVersionAttribute Members

Include Protected Members
Include Inherited Members

Provides a definition for an attribute that can be used to define the target schema version of a concrete SPAction object.

The TargetSchemaVersionAttribute type exposes the following members.

Constructors

  Name Description
Public method TargetSchemaVersionAttribute Initializes a new instance of the TargetSchemaVersionAttribute class based on the specified version.

Top

Properties

  Name Description
Public property FromBuild Gets or sets a string that specifies the first build version for which the target schema version is effective.
Public property TargetSchemaVersion Gets the target schema version of upgrade sequences.
Public property ToBuild Gets or sets a string that specifies the last build version for which the target schema version is effective.
Public property TypeId (Inherited from Attribute.)

Top

Methods

  Name Description
Public method CompareTo Compares the TargetSchemaVersionAttribute object to a specified object.
Public method Equals Used to compare the schema versions of the database that will be upgraded.  (Overrides Attribute.Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Overrides Attribute.GetHashCode().)
Public method GetType (Inherited from Object.)
Public method IsDefaultAttribute (Inherited from Attribute.)
Public method Match (Inherited from Attribute.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member GreaterThan
Public operatorStatic member LessThan

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method _Attribute.GetIDsOfNames (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfo (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.GetTypeInfoCount (Inherited from Attribute.)
Explicit interface implemetationPrivate method _Attribute.Invoke (Inherited from Attribute.)

Top

See Also

Reference

TargetSchemaVersionAttribute Class

Microsoft.SharePoint.Upgrade Namespace