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
'Usage
Dim optionsCompare As EventSetBase
Dim returnValue As Boolean

returnValue = Me.HasCommonBits(optionsCompare)
protected bool HasCommonBits(
    EventSetBase optionsCompare
)
protected:
bool HasCommonBits(
    EventSetBase^ optionsCompare
)
member HasCommonBits : 
        optionsCompare:EventSetBase -> bool 
protected function HasCommonBits(
    optionsCompare : EventSetBase
) : boolean

Parameters

Return Value

Type: System.Boolean
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.