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