SqlAssemblyEventSet.Add 메서드 (SqlAssemblyEvent)
Returns an SQL assembly event set after adding a new SQL assembly event to the referenced event set.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Function Add ( _
anEvent As SqlAssemblyEvent _
) As SqlAssemblyEventSet
‘사용 방법
Dim instance As SqlAssemblyEventSet
Dim anEvent As SqlAssemblyEvent
Dim returnValue As SqlAssemblyEventSet
returnValue = instance.Add(anEvent)
public SqlAssemblyEventSet Add(
SqlAssemblyEvent anEvent
)
public:
SqlAssemblyEventSet^ Add(
SqlAssemblyEvent^ anEvent
)
member Add :
anEvent:SqlAssemblyEvent -> SqlAssemblyEventSet
public function Add(
anEvent : SqlAssemblyEvent
) : SqlAssemblyEventSet
매개 변수
- anEvent
유형: Microsoft.SqlServer.Management.Smo.SqlAssemblyEvent
A SqlAssemblyEvent object that is added to the SqlAssemblyEventSet object.
반환 값
유형: Microsoft.SqlServer.Management.Smo.SqlAssemblyEventSet
A SqlAssemblyEventSet object that contains the added SqlAssemblyEvent object.