HostDistributionRule.Equals Method
Determines whether the specified object is equal to the current HostDistributionRule object.
Namespace: Microsoft.Office.Server.Search.Administration
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Public Overrides Function Equals ( _
obj As Object _
) As Boolean
'Usage
Dim instance As HostDistributionRule
Dim obj As Object
Dim returnValue As Boolean
returnValue = instance.Equals(obj)
public override bool Equals(
Object obj
)
Parameters
obj
Type: System.ObjectThe object to compare with the current HostDistributionRule object.
Return Value
Type: System.Boolean
true if the obj is equal to the HostDistributionRule; otherwise, false.
Remarks
This override returns true when the instance of HostDistributionRule and the obj, which must be an instance of HostDistributionRule, have the same values for both the CrawlDatabaseGuid and the HostName properties.