PolicyCategorySubscription.Key.Equals PolicyCategorySubscription.Key.Equals PolicyCategorySubscription.Key.Equals Method

Definition

Determines whether the specified object key is equal to the referenced object key.

Overloads

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

Determines whether the two specified objects are equal.

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

Determines whether the specified object key is equal to the referenced object key.

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

Determines whether the specified object key is equal to the referenced object key.

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

Determines whether the two specified objects are equal.

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 value that specifies one object.

Returns

A Boolean value that specifies whether the specified key is equal to the referenced object key. If true, the key values are equal. Otherwise, false.

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

Determines whether the specified object key is equal to the referenced object key.

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 value that specifies the object to compare.

Returns

A Boolean which is true if the operands are equal, otherwise .false

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

Determines whether the specified object key is equal to the referenced object key.

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

A Object value that specifies one object.

obj2
Object Object Object

A Object value that specifies another object.

Returns

A Boolean value that specifies whether the specified key is equal to the referenced object key. If True, the key values are equal. Otherwise, False.

Applies to