ServerGroup.Key.Equality ServerGroup.Key.Equality ServerGroup.Key.Equality Operator

Definition

Overloads

Equality(ServerGroup+Key, ServerGroup+Key) Equality(ServerGroup+Key, ServerGroup+Key) Equality(ServerGroup+Key, ServerGroup+Key)

Determines whether the objects identified by two ServerGroup.Key objects are the same.

Equality(ServerGroup+Key, Object) Equality(ServerGroup+Key, Object) Equality(ServerGroup+Key, Object)

Determines whether the object identified by a Object is the same as the object identified by a ServerGroup.Key.

Equality(Object, ServerGroup+Key) Equality(Object, ServerGroup+Key) Equality(Object, ServerGroup+Key)

Determines whether the object identified by a Object is the same as the object identified by a ServerGroup.Key.

Equality(ServerGroup+Key, ServerGroup+Key) Equality(ServerGroup+Key, ServerGroup+Key) Equality(ServerGroup+Key, ServerGroup+Key)

Determines whether the objects identified by two ServerGroup.Key objects are the same.

public:
 static bool operator ==(Microsoft::SqlServer::Management::RegisteredServers::ServerGroup::Key ^ leftOperand, Microsoft::SqlServer::Management::RegisteredServers::ServerGroup::Key ^ rightOperand);
public static bool operator == (Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Key leftOperand, Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Key rightOperand);
Public Shared Operator == (leftOperand As ServerGroup.Key, rightOperand As ServerGroup.Key) As Boolean
Parameters
leftOperand

A ServerGroup.Key object that identifies the first object.

rightOperand

A ServerGroup.Key object that identifies the second object.

Returns

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

Remarks

  • This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Equality(ServerGroup+Key, Object) Equality(ServerGroup+Key, Object) Equality(ServerGroup+Key, Object)

Determines whether the object identified by a Object is the same as the object identified by a ServerGroup.Key.

public:
 static bool operator ==(Microsoft::SqlServer::Management::RegisteredServers::ServerGroup::Key ^ leftOperand, System::Object ^ obj);
public static bool operator == (Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Key leftOperand, object obj);
Public Shared Operator == (leftOperand As ServerGroup.Key, obj As Object) As Boolean
Parameters
leftOperand

A ServerGroup.Key object that identifies the first object.

obj
Object Object Object

An Object that identifies the second object.

Returns

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

Remarks

The equivalent method for this operator is <xref:Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Key.Equals%28Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Key%2CSystem.Object%29?displayProperty=fullName>

Equality(Object, ServerGroup+Key) Equality(Object, ServerGroup+Key) Equality(Object, ServerGroup+Key)

Determines whether the object identified by a Object is the same as the object identified by a ServerGroup.Key.

public:
 static bool operator ==(System::Object ^ obj, Microsoft::SqlServer::Management::RegisteredServers::ServerGroup::Key ^ rightOperand);
public static bool operator == (object obj, Microsoft.SqlServer.Management.RegisteredServers.ServerGroup.Key rightOperand);
Public Shared Operator == (obj As Object, rightOperand As ServerGroup.Key) As Boolean
Parameters
obj
Object Object Object

A Object object that identifies the first object.

rightOperand

A ServerGroup.Key object that identifies the second object.

Returns

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

Remarks

  • This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Applies to