IntegrationServices.Key.Equality 運算子

定義

判斷兩個鍵物件的值是否相同。

多載

名稱 Description
Equality(IntegrationServices+Key, IntegrationServices+Key)

表示使用指定運算元時,關鍵物件的值是否相同。

Equality(IntegrationServices+Key, Object)

表示指定物件與鍵的左側是否相等。

Equality(Object, IntegrationServices+Key)

表示指定物件與金鑰右側是否相等。

Equality(IntegrationServices+Key, IntegrationServices+Key)

表示使用指定運算元時,關鍵物件的值是否相同。

public:
 static bool operator ==(Microsoft::SqlServer::Management::IntegrationServices::IntegrationServices::Key ^ leftOperand, Microsoft::SqlServer::Management::IntegrationServices::IntegrationServices::Key ^ rightOperand);
public static bool operator ==(Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices.Key leftOperand, Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices.Key rightOperand);
static member ( = ) : Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices.Key * Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices.Key -> bool
Public Shared Operator == (leftOperand As IntegrationServices.Key, rightOperand As IntegrationServices.Key) As Boolean

參數

leftOperand
IntegrationServices.Key

一個 IntegrationServices.Key 代表鑰匙左側的物件,供比較。

rightOperand
IntegrationServices.Key

一個 IntegrationServices.Key 代表鑰匙右側的物件,供比較。

傳回

若鍵物件在指定運算元下值相同,則為真;否則,則為錯誤。

適用於

Equality(IntegrationServices+Key, Object)

表示指定物件與鍵的左側是否相等。

public:
 static bool operator ==(Microsoft::SqlServer::Management::IntegrationServices::IntegrationServices::Key ^ leftOperand, System::Object ^ obj);
public static bool operator ==(Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices.Key leftOperand, object obj);
static member ( = ) : Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices.Key * obj -> bool
Public Shared Operator == (leftOperand As IntegrationServices.Key, obj As Object) As Boolean

參數

leftOperand
IntegrationServices.Key

一個 IntegrationServices.Key 代表鑰匙左側的物件,供比較。

obj
Object

指定的物件

傳回

若指定物件與鍵的左側相等,則為真;否則,則為錯誤。

適用於

Equality(Object, IntegrationServices+Key)

表示指定物件與金鑰右側是否相等。

public:
 static bool operator ==(System::Object ^ obj, Microsoft::SqlServer::Management::IntegrationServices::IntegrationServices::Key ^ rightOperand);
public static bool operator ==(object obj, Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices.Key rightOperand);
static member ( = ) : obj * Microsoft.SqlServer.Management.IntegrationServices.IntegrationServices.Key -> bool
Public Shared Operator == (obj As Object, rightOperand As IntegrationServices.Key) As Boolean

參數

obj
Object

指定的物件。

rightOperand
IntegrationServices.Key

一個 IntegrationServices.Key 代表鑰匙右側的物件,供比較。

傳回

若指定物件與鍵的右側相等,則為真;否則,則為錯誤。

適用於