共用方式為


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