ViewEventSet.Add ViewEventSet.Add ViewEventSet.Add Method

정의

이벤트 집합에 뷰 이벤트를 추가합니다. Adds a view event to the event set.

오버로드

Add(ViewEvent) Add(ViewEvent) Add(ViewEvent)

추가 ViewEvent 개체는 ViewEventSet 개체입니다. Adds a ViewEvent object to the ViewEventSet object.

Add(ViewEventSet, ViewEvent) Add(ViewEventSet, ViewEvent) Add(ViewEventSet, ViewEvent)

이벤트 집합에 이벤트를 추가합니다. Adds an event to the event set.

Add(ViewEvent) Add(ViewEvent) Add(ViewEvent)

추가 ViewEvent 개체는 ViewEventSet 개체입니다. Adds a ViewEvent object to the ViewEventSet object.

public:
 Microsoft::SqlServer::Management::Smo::ViewEventSet ^ Add(Microsoft::SqlServer::Management::Smo::ViewEvent ^ anEvent);
public Microsoft.SqlServer.Management.Smo.ViewEventSet Add (Microsoft.SqlServer.Management.Smo.ViewEvent anEvent);
Public Function Add (anEvent As ViewEvent) As ViewEventSet
매개 변수
anEvent
ViewEvent ViewEvent ViewEvent

A ViewEvent 개체에 추가 되는 ViewEventSet 개체입니다. A ViewEvent object that is added to the ViewEventSet object.

반환

A ViewEventSet 개체가 추가 된 있는 ViewEvent 개체입니다. A ViewEventSet object that contains the added ViewEvent object.

예제

SMO 이벤트 처리Handling SMO Events

Add(ViewEventSet, ViewEvent) Add(ViewEventSet, ViewEvent) Add(ViewEventSet, ViewEvent)

이벤트 집합에 이벤트를 추가합니다. Adds an event to the event set.

public:
 static Microsoft::SqlServer::Management::Smo::ViewEventSet ^ Add(Microsoft::SqlServer::Management::Smo::ViewEventSet ^ eventSet, Microsoft::SqlServer::Management::Smo::ViewEvent ^ anEvent);
public static Microsoft.SqlServer.Management.Smo.ViewEventSet Add (Microsoft.SqlServer.Management.Smo.ViewEventSet eventSet, Microsoft.SqlServer.Management.Smo.ViewEvent anEvent);
Public Shared Function Add (eventSet As ViewEventSet, anEvent As ViewEvent) As ViewEventSet
매개 변수
anEvent
ViewEvent ViewEvent ViewEvent

ViewEvent 추가 합니다. The ViewEvent to add.

반환

예제

SMO 이벤트 처리Handling SMO Events

적용 대상