Subtract 方法
Returns a server event set after subtracting a server event from the specified event set.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Shared Function Subtract ( _
eventSet As ServerEventSet, _
anEvent As ServerEvent _
) As ServerEventSet
'用途
Dim eventSet As ServerEventSet
Dim anEvent As ServerEvent
Dim returnValue As ServerEventSet
returnValue = ServerEventSet.Subtract(eventSet, _
anEvent)
public static ServerEventSet Subtract(
ServerEventSet eventSet,
ServerEvent anEvent
)
public:
static ServerEventSet^ Subtract(
ServerEventSet^ eventSet,
ServerEvent^ anEvent
)
static member Subtract :
eventSet:ServerEventSet *
anEvent:ServerEvent -> ServerEventSet
public static function Subtract(
eventSet : ServerEventSet,
anEvent : ServerEvent
) : ServerEventSet
參數
- eventSet
型別:Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object that specifies the server event set from which the event is subtracted.
- anEvent
型別:Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server event to be subtracted from the event set.
傳回值
型別:Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies a set of server events after subtracting the specified event.