Equality 运算符 (UIConnectionInfo, UIConnectionInfo)

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。 Determines whether two specified UIConnectionInfo objects are the same.

命名空间:  Microsoft.SqlServer.Management.Smo.RegSvrEnum
程序集:  Microsoft.SqlServer.RegSvrEnum(在 Microsoft.SqlServer.RegSvrEnum.dll 中)

语法

声明
Public Shared Operator = ( _
    infoA As UIConnectionInfo, _
    infoB As UIConnectionInfo _
) As Boolean
用法
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 支持使用重载的运算符,但不支持声明新重载运算符。

参数

返回值

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