Equality 연산자 (ServerGroup.Key, ServerGroup.Key)
Determines whether two objects are equal by performing an equality operation on them.
네임스페이스: Microsoft.SqlServer.Management.RegisteredServers
어셈블리: Microsoft.SqlServer.Management.RegisteredServers.dll의 Microsoft.SqlServer.Management.RegisteredServers
구문
‘선언
Public Shared Operator = ( _
leftOperand As ServerGroup..::..Key, _
rightOperand As ServerGroup..::..Key _
) As Boolean
‘사용 방법
Dim leftOperand As ServerGroup..::..Key
Dim rightOperand As ServerGroup..::..Key
Dim returnValue As Boolean
returnValue = (leftOperand = rightOperand)
public static bool operator ==(
ServerGroup..::..Key leftOperand,
ServerGroup..::..Key rightOperand
)
public:
static bool operator ==(
ServerGroup..::..Key^ leftOperand,
ServerGroup..::..Key^ rightOperand
)
static let inline (=)
leftOperand:ServerGroup..::..Key *
rightOperand:ServerGroup..::..Key : bool
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.
매개 변수
- leftOperand
형식: Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroup. . :: . .Key
A ServerGroup..::..Key object that identifies the first object.
- rightOperand
형식: Microsoft.SqlServer.Management.RegisteredServers. . :: . .ServerGroup. . :: . .Key
A ServerGroup..::..Key object that identifies the second object.
반환 값
형식: System. . :: . .Boolean
A Boolean value that specifies the outcome of the equality operation.
If True, the two objects are equal. Otherwise, False.
주의
- 이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.