ViewEventSet.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
パラメーター
- anEvent
型: Microsoft.SqlServer.Management.Smo.ViewEvent
ViewEventSet オブジェクトに追加される ViewEvent オブジェクトです。
戻り値
型: Microsoft.SqlServer.Management.Smo.ViewEventSet
追加された ViewEvent オブジェクトを含む ViewEventSet オブジェクトです。