Equality-Operator (UIConnectionInfo, Object)
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 UIConnectionInfo object is the same as the specified Object.
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 Object _
) As Boolean
'Usage
Dim infoA As UIConnectionInfo
Dim infoB As Object
Dim returnValue As Boolean
returnValue = (infoA = infoB)
public static bool operator ==(
UIConnectionInfo infoA,
Object infoB
)
public:
static bool operator ==(
UIConnectionInfo^ infoA,
Object^ infoB
)
static let inline (=)
infoA:UIConnectionInfo *
infoB:Object : bool
JScript unterstützt die Verwendung überladener Operatoren, aber nicht die Deklaration neuer Operatoren.
Parameter
- infoA
Typ: Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
A UIConnectionInfo object that specifies the first object.
- infoB
Typ: System. . :: . .Object
A Object that specifies the second object.
Rückgabewert
Typ: System. . :: . .Boolean
true if the two objects are equal; otherwise, false.