ObjectEventSet.Add ObjectEventSet.Add ObjectEventSet.Add Method

정의

추가 ObjectEvent 개체는 ObjectEventSet Adds a ObjectEvent object to a ObjectEventSet

오버로드

Add(ObjectEvent) Add(ObjectEvent) Add(ObjectEvent)

추가 ObjectEvent 개체는 ObjectEventSet 개체입니다. Adds an ObjectEvent object to the ObjectEventSet object.

Add(ObjectEventSet, ObjectEvent) Add(ObjectEventSet, ObjectEvent) Add(ObjectEventSet, ObjectEvent)

추가 ObjectEvent 개체는 ObjectEventSet합니다. Adds an ObjectEvent object to a ObjectEventSet.

Add(ObjectEvent) Add(ObjectEvent) Add(ObjectEvent)

추가 ObjectEvent 개체는 ObjectEventSet 개체입니다. Adds an ObjectEvent object to the ObjectEventSet object.

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

ObjectEvent 개체에 추가 되는 ObjectEventSet 개체입니다. An ObjectEvent object that is added to the ObjectEventSet object.

반환

ObjectEventSet 개체가 추가 된 있는 ObjectEvent 개체입니다. An ObjectEventSet object that contains the added ObjectEvent object.

예제

SMO 이벤트 처리Handling SMO Events

Add(ObjectEventSet, ObjectEvent) Add(ObjectEventSet, ObjectEvent) Add(ObjectEventSet, ObjectEvent)

추가 ObjectEvent 개체는 ObjectEventSet합니다. Adds an ObjectEvent object to a ObjectEventSet.

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

추가된 개체 이벤트를 보유할 ObjectEventSet입니다. ObjectEventSet that will have the Object Event added.

anEvent
ObjectEvent ObjectEvent ObjectEvent

ObjectEvent 추가할 수 있습니다. ObjectEvent to be added.

반환

ObjectEventSet 개체가 추가 된 있는 ObjectEvent 개체입니다. An ObjectEventSet object that contains the added ObjectEvent object.

예제

SMO 이벤트 처리Handling SMO Events

적용 대상