Inequality 运算符 (UIConnectionInfo, UIConnectionInfo)
此 API 支持 基础结构,但不能通过代码直接使用。
Determines whether two UIConnectionInfo objects are different.
命名空间: 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 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- infoA
类型:Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
A UIConnectionInfo object that specifies the first object.
- infoB
类型:Microsoft.SqlServer.Management.Smo.RegSvrEnum. . :: . .UIConnectionInfo
A UIConnectionInfo object that specifies that second object.
返回值
类型:System. . :: . .Boolean
true if the connections are not equal; otherwise, false.