Share via


Utility.Key.Equals Method

Definition

Determines the specified object is equal to the Utility.Key.

Overloads

Equals(SfcKey)

Determines the specified key is equal to the Utility.Key.

Equals(Object)

Determines the specified object is equal to the Utility.Key.

Equals(Object, Object)

Determines the specified objects are equal.

Equals(SfcKey)

Determines the specified key is equal to the Utility.Key.

public:
 override bool Equals(Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey ^ key);
public override bool Equals (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey key);
override this.Equals : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> bool
Public Overrides Function Equals (key As SfcKey) As Boolean

Parameters

key
SfcKey

Specifies the key to compare to the current Utility.Key instance.

Returns

A Boolean value indicating whether the specified object is equal to the Utility.Key. If the object is equal to the Utility.Key, this method returns true. Otherwise, false.

Applies to

Equals(Object)

Determines the specified object is equal to the Utility.Key.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

Parameters

obj
Object

Specifies the Object to compare to the Utility.Key.

Returns

A Boolean value indicating whether the specified object is equal to the Utility.Key. If the object is equal to the Utility.Key, this method returns true. Otherwise, false.

Applies to

Equals(Object, Object)

Determines the specified objects are equal.

public:
 static bool Equals(System::Object ^ obj1, System::Object ^ obj2);
public static bool Equals (object obj1, object obj2);
static member Equals : obj * obj -> bool
Public Shared Function Equals (obj1 As Object, obj2 As Object) As Boolean

Parameters

obj1
Object

Specifies the first Object to be compared.

obj2
Object

Specifies the second Object to be compared.

Returns

A Boolean value indicating whether the two objects are equal. Returns true if the objects are the same and not null. Otherwise, false.

Applies to