Share via


TargetSchemaVersionAttribute 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 BreaksSerialization
Public property FromBuild Gets or sets a string that specifies the first build version for which the target schema version is effective.
Public property Schema
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 Overide GetHashCode. HashCode of obj1 should equal HashCode of obj2 if obj1.Equals(obj2) is true (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 Operator overloads.

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