Equality-Operator (Object, UIConnectionInfo)
Diese API unterstützt die -Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.
Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur. Determines whether the specified Object is the same as the specified UIConnectionInfo object.
Namespace: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)
Syntax
'Declaration
Public Shared Operator = ( _
infoA As Object, _
infoB As UIConnectionInfo _
) As Boolean
'Usage
Dim infoA As Object
Dim infoB As UIConnectionInfo
Dim returnValue As Boolean
returnValue = (infoA = infoB)
public static bool operator ==(
Object infoA,
UIConnectionInfo infoB
)
public:
static bool operator ==(
Object^ infoA,
UIConnectionInfo^ infoB
)
static let inline (=)
infoA:Object *
infoB:UIConnectionInfo : bool
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.
Parameter
- infoA
Typ: System. . :: . .Object
An Object that specifies the first object.
- infoB
Typ: Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
A UIConnectionInfo object that specifies the second object.
Rückgabewert
Typ: System. . :: . .Boolean
true if the two objects are equal; otherwise, false.