Freigeben über


UIConnectionInfo.Equality-Operator (UIConnectionInfo, UIConnectionInfo)

Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Determines whether two specified UIConnectionInfo objects are the same.

Namespace:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly:  Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)

Syntax

'Declaration
Public Shared Operator = ( _
    infoA As UIConnectionInfo, _
    infoB As UIConnectionInfo _
) As Boolean
'Usage
Dim infoA As UIConnectionInfo 
Dim infoB As UIConnectionInfo 
Dim returnValue As Boolean 

returnValue = (infoA = infoB)
public static bool operator ==(
    UIConnectionInfo infoA,
    UIConnectionInfo infoB
)
public:
static bool operator ==(
    UIConnectionInfo^ infoA, 
    UIConnectionInfo^ infoB
)
static let inline(=)
        infoA:UIConnectionInfo * 
        infoB:UIConnectionInfo  : bool
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.

Parameter

Rückgabewert

Typ: System.Boolean
true if the two objects are equal; otherwise, false.

Siehe auch

Verweis

UIConnectionInfo Klasse

Equality-Überladung

Microsoft.SqlServer.Management.Smo.RegSvrEnum-Namespace