Share via


CollectorConfigStore.Key.Equality 연산자 (Object, CollectorConfigStore.Key)

Does a boolean equality comparision between the object sent as a parameter and the right hand side of the key.

네임스페이스:  Microsoft.SqlServer.Management.Collector
어셈블리:  Microsoft.SqlServer.Management.Collector(Microsoft.SqlServer.Management.Collector.dll)

구문

‘선언
Public Shared Operator = ( _
    obj As Object, _
    rhs As CollectorConfigStore.Key _
) As Boolean
‘사용 방법
Dim obj As Object 
Dim rhs As CollectorConfigStore.Key 
Dim returnValue As Boolean 

returnValue = (obj = rhs)
public static bool operator ==(
    Object obj,
    CollectorConfigStore.Key rhs
)
public:
static bool operator ==(
    Object^ obj, 
    CollectorConfigStore.Key^ rhs
)
static let inline(=)
        obj:Object * 
        rhs:CollectorConfigStore.Key  : bool
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.

매개 변수

반환 값

유형: System.Boolean

A Boolean value that returns TRUE when:

  • both sides are NULL

  • both sides are not NULL AND rhs is a key AND the keys are equal

주의

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

참고 항목

참조

CollectorConfigStore.Key 클래스

Equality 오버로드

Microsoft.SqlServer.Management.Collector 네임스페이스