次の方法で共有


Add メソッド (ViewEvent)

ViewEvent オブジェクトを ViewEventSet オブジェクトに追加します。

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

構文

'宣言
Public Function Add ( _
    anEvent As ViewEvent _
) As ViewEventSet
'使用
Dim instance As ViewEventSet
Dim anEvent As ViewEvent
Dim returnValue As ViewEventSet

returnValue = instance.Add(anEvent)
public ViewEventSet Add(
    ViewEvent anEvent
)
public:
ViewEventSet^ Add(
    ViewEvent^ anEvent
)
member Add : 
        anEvent:ViewEvent -> ViewEventSet 
public function Add(
    anEvent : ViewEvent
) : ViewEventSet

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Smo. . :: . .ViewEventSet
追加された ViewEvent オブジェクトを含む ViewEventSet オブジェクトです。