次の方法で共有


Subtract メソッド

ビュー イベントをイベント セットから削除します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Shared Function Subtract ( _
    eventSet As ViewEventSet, _
    anEvent As ViewEvent _
) As ViewEventSet
'使用
Dim eventSet As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet

returnValue = ViewEventSet.Subtract(eventSet, _
    anEvent)
public static ViewEventSet Subtract(
    ViewEventSet eventSet,
    ViewEvent anEvent
)
public:
static ViewEventSet^ Subtract(
    ViewEventSet^ eventSet, 
    ViewEvent^ anEvent
)
static member Subtract : 
        eventSet:ViewEventSet * 
        anEvent:ViewEvent -> ViewEventSet 
public static function Subtract(
    eventSet : ViewEventSet, 
    anEvent : ViewEvent
) : ViewEventSet