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