SfcKeyChain.Equals Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Equals(SfcKeyChain) |
The strongly-typed equality check used by the strongly-typed operators. Compares for client equality of the same instance in the same object tree. |
Equals(Object) |
Two SfcKeyChains are equal iff
|
Equals(SfcKeyChain)
The strongly-typed equality check used by the strongly-typed operators. Compares for client equality of the same instance in the same object tree.
public bool Equals (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKeyChain otherKeychain);
override this.Equals : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKeyChain -> bool
Public Function Equals (otherKeychain As SfcKeyChain) As Boolean
Parameters
- otherKeychain
- SfcKeyChain
The keychain to compare.
Returns
True if equivalent, otherwise false.
Implements
Applies to
Equals(Object)
Two SfcKeyChains are equal iff
- They are both from the same domain and domain instance tree
- They have the same number of Keys
- Each Key is equal, checked from the bottom up to avoid nearby-but-not-equal comparisons Each Key class must implement a reasonable operator== that compares the Key values and not rely on the default object.Equals(object) which only checks for reference equality.
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
- obj
- Object
The object to compare, which must be a keychain.
Returns
True if equivalent, otherwise false.