共用方式為


PolicyCategory.Key.Equals 方法 (Object, Object)

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

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Shared Function Equals ( _
    obj1 As Object, _
    obj2 As Object _
) As Boolean
'用途
Dim obj1 As Object 
Dim obj2 As Object 
Dim returnValue As Boolean 

returnValue = PolicyCategory.Key.Equals(obj1, obj2)
public static bool Equals(
    Object obj1,
    Object obj2
)
public:
static bool Equals(
    Object^ obj1, 
    Object^ obj2
)
static member Equals : 
        obj1:Object * 
        obj2:Object -> bool
public static function Equals(
    obj1 : Object, 
    obj2 : Object
) : boolean

參數

傳回值

型別:System.Boolean
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.

請參閱

參考

PolicyCategory.Key 類別

Equals 多載

Microsoft.SqlServer.Management.Dmf 命名空間