PolicyStore.Key.Equality PolicyStore.Key.Equality PolicyStore.Key.Equality Operator

Definition

Overloads

Equality(PolicyStore+Key, PolicyStore+Key) Equality(PolicyStore+Key, PolicyStore+Key) Equality(PolicyStore+Key, PolicyStore+Key)

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

Equality(PolicyStore+Key, Object) Equality(PolicyStore+Key, Object) Equality(PolicyStore+Key, Object)

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

Equality(Object, PolicyStore+Key) Equality(Object, PolicyStore+Key) Equality(Object, PolicyStore+Key)

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

Equality(PolicyStore+Key, PolicyStore+Key) Equality(PolicyStore+Key, PolicyStore+Key) Equality(PolicyStore+Key, PolicyStore+Key)

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

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

A PolicyStore.Key object that identifies the first object.

rightOperand

A PolicyStore.Key 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.Dmf.PolicyStore.Key.Equals%28Microsoft.SqlServer.Management.Dmf.PolicyStore.Key%2CMicrosoft.SqlServer.Management.Dmf.PolicyStore.Key%29?displayProperty=fullName>

Equality(PolicyStore+Key, Object) Equality(PolicyStore+Key, Object) Equality(PolicyStore+Key, Object)

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

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

A PolicyStore.Key object that identifies the first object.

obj
Object Object Object

A 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.Dmf.PolicyStore.Key.Equals%28Microsoft.SqlServer.Management.Dmf.PolicyStore.Key%2CSystem.Object%29?displayProperty=fullName>

Equality(Object, PolicyStore+Key) Equality(Object, PolicyStore+Key) Equality(Object, PolicyStore+Key)

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

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

A Object object that identifies the first object.

rightOperand

A PolicyStore.Key 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.Dmf.PolicyStore.Key.Equals%28System.Object%2CMicrosoft.SqlServer.Management.Dmf.PolicyStore.Key%29?displayProperty=fullName>

Applies to