Equality 運算子 (UIConnectionInfo, Object)
此 API 支援 基礎結構,但無法直接從您的程式碼使用。
不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。 Determines whether the specified UIConnectionInfo object is the same as the specified Object.
命名空間: Microsoft.SqlServer.Management.Smo.RegSvrEnum
組件: Microsoft.SqlServer.RegSvrEnum (在 Microsoft.SqlServer.RegSvrEnum.dll 中)
語法
'宣告
Public Shared Operator = ( _
infoA As UIConnectionInfo, _
infoB As Object _
) As Boolean
'用途
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 支援多載運算子的使用,但不支援新運算子的宣告。
參數
- infoA
型別:Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
A UIConnectionInfo object that specifies the first object.
- infoB
型別:System. . :: . .Object
A Object that specifies the second object.
傳回值
型別:System. . :: . .Boolean
true if the two objects are equal; otherwise, false.