다음을 통해 공유


Add 메서드 (StoredProcedureEvent)

Returns a set of stored procedure events after adding a new stored procedure event to the referenced event set.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
Public Function Add ( _
    anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
‘사용 방법
Dim instance As StoredProcedureEventSet
Dim anEvent As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet

returnValue = instance.Add(anEvent)
public StoredProcedureEventSet Add(
    StoredProcedureEvent anEvent
)
public:
StoredProcedureEventSet^ Add(
    StoredProcedureEvent^ anEvent
)
member Add : 
        anEvent:StoredProcedureEvent -> StoredProcedureEventSet 
public function Add(
    anEvent : StoredProcedureEvent
) : StoredProcedureEventSet

매개 변수

반환 값

형식: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the stored procedure event set after the new event is added.