Add 메서드 (StoredProcedureEventSet, StoredProcedureEvent)
Returns a set of stored procedure events after adding a new stored procedure event to the specified event set.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Shared Function Add ( _
eventSet As StoredProcedureEventSet, _
anEvent As StoredProcedureEvent _
) As StoredProcedureEventSet
‘사용 방법
Dim eventSet As StoredProcedureEventSet
Dim anEvent As StoredProcedureEvent
Dim returnValue As StoredProcedureEventSet
returnValue = StoredProcedureEventSet.Add(eventSet, _
anEvent)
public static StoredProcedureEventSet Add(
StoredProcedureEventSet eventSet,
StoredProcedureEvent anEvent
)
public:
static StoredProcedureEventSet^ Add(
StoredProcedureEventSet^ eventSet,
StoredProcedureEvent^ anEvent
)
static member Add :
eventSet:StoredProcedureEventSet *
anEvent:StoredProcedureEvent -> StoredProcedureEventSet
public static function Add(
eventSet : StoredProcedureEventSet,
anEvent : StoredProcedureEvent
) : StoredProcedureEventSet
매개 변수
- eventSet
형식: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the event set to which the event is added.
- anEvent
형식: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEvent
A StoredProcedureEvent object that is added to the event set.
반환 값
형식: Microsoft.SqlServer.Management.Smo. . :: . .StoredProcedureEventSet
A StoredProcedureEventSet object that specifies the stored procedure event set after the new event is added.