Equality 运算符
Creates a service queue event set by performing an equality operation on two ServiceQueueEvent objects.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Shared Operator = ( _
a As ServiceQueueEvent, _
b As ServiceQueueEvent _
) As Boolean
用法
Dim a As ServiceQueueEvent
Dim b As ServiceQueueEvent
Dim returnValue As Boolean
returnValue = (a = b)
public static bool operator ==(
ServiceQueueEvent a,
ServiceQueueEvent b
)
public:
static bool operator ==(
ServiceQueueEvent^ a,
ServiceQueueEvent^ b
)
static let inline (=)
a:ServiceQueueEvent *
b:ServiceQueueEvent : bool
JScript 支持使用重载的运算符,但不支持声明新重载运算符。
参数
- a
类型:Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies the service queue events.
- b
类型:Microsoft.SqlServer.Management.Smo. . :: . .ServiceQueueEvent
A ServiceQueueEvent object that specifies the service queue events.
返回值
类型:System. . :: . .Boolean
A ServiceQueueEventSet object value that specifies a set of service queue events.