共用方式為


HasCommonBits 方法

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.SqlEnum (在 Microsoft.SqlServer.SqlEnum.dll 中)

語法

'宣告
Protected Function HasCommonBits ( _
    optionsCompare As EventSetBase _
) As Boolean
'用途
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

參數

傳回值

型別: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.