Share via


TargetSchemaVersionAttribute.Equals method

Used to compare the schema versions of the database that will be upgraded. 

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

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Overrides Function Equals ( _
    obj As Object _
) As Boolean
'Usage
Dim instance As TargetSchemaVersionAttribute
Dim obj As Object
Dim returnValue As Boolean

returnValue = instance.Equals(obj)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public override bool Equals(
    Object obj
)

Parameters

  • obj
    Type: System.Object

    An object representing the schema version that will be compared with the current schema version.

Return value

Type: System.Boolean
true if the specified object is equal to the current object; otherwise, false.

See also

Reference

TargetSchemaVersionAttribute class

TargetSchemaVersionAttribute members

Microsoft.SharePoint.Upgrade namespace