Partilhar via


EventSetBase.HasCommonBits Method

Specifies whether the EventSetBase object has common bits with another specified EventSetBase object.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Syntax

'Declaration
Protected Function HasCommonBits ( _
    optionsCompare As EventSetBase _
) As Boolean
protected bool HasCommonBits (
    EventSetBase optionsCompare
)
protected:
bool HasCommonBits (
    EventSetBase^ optionsCompare
)
protected boolean HasCommonBits (
    EventSetBase optionsCompare
)
protected function HasCommonBits (
    optionsCompare : EventSetBase
) : boolean

Parameters

  • optionsCompare
    An EventSetBase object to compare with the referenced EventSetBase object.

Return Value

A Boolean value that specifies whether the two EventSetBase objects contain common bits. If True, the two EventSetBase objects contain common bits. If False, the two EventSetBase objects do not contain common bits.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

How to: Register Event Handlers and Subscribe to Event Handling in Visual Basic .NET

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

EventSetBase Class
EventSetBase Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Handling SMO Events