ServerGroup.Key.Equals ServerGroup.Key.Equals ServerGroup.Key.Equals Method

Definition

Determines whether the specified object is equal to the server group represented by the ServerGroup.Key object.

Overloads

Equals(SfcKey) Equals(SfcKey) Equals(SfcKey)

Determines whether the object identified by the specified SfcKey is equal to the server group represented by the ServerGroup.Key object.

Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to the server group represented by the ServerGroup.Key object.

Equals(Object, Object) Equals(Object, Object) Equals(Object, Object)

Determines whether the two specified objects are the same.

Equals(SfcKey) Equals(SfcKey) Equals(SfcKey)

Determines whether the object identified by the specified SfcKey is equal to the server group represented by the ServerGroup.Key object.

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

A SfcKey object that identifies the object to compare.

Returns

A Boolean value that is true if the specified object is the same as the current server group. Otherwise, false.

Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified Object is equal to the server group represented by the ServerGroup.Key object.

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
Public Overrides Function Equals (obj As Object) As Boolean
Parameters
obj
Object Object Object

A Object that identifies the object to compare.

Returns

A Boolean value that is true if the specified object is the same as the current server group. Otherwise, false.

Equals(Object, Object) Equals(Object, Object) Equals(Object, Object)

Determines whether the two specified objects are the same.

public:
 static bool Equals(System::Object ^ obj1, System::Object ^ obj2);
public static bool Equals (object obj1, object obj2);
Public Shared Function Equals (obj1 As Object, obj2 As Object) As Boolean
Parameters
obj1
Object Object Object

An Object that identifies the first object.

obj2
Object Object Object

An Object that identifies the second object.

Returns

A Boolean value that is true if the two objects are the same. Otherwise, false.

Applies to