Addition 연산자
Creates a server event set by performing an addition operation on two ServerEvent objects.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo
구문
‘선언
Public Shared Operator + ( _
eventLeft As ServerEvent, _
eventRight As ServerEvent _
) As ServerEventSet
‘사용 방법
Dim eventLeft As ServerEvent
Dim eventRight As ServerEvent
Dim returnValue As ServerEventSet
returnValue = (eventLeft + eventRight)
public static ServerEventSet operator +(
ServerEvent eventLeft,
ServerEvent eventRight
)
public:
static ServerEventSet^ operator +(
ServerEvent^ eventLeft,
ServerEvent^ eventRight
)
static let inline (+)
eventLeft:ServerEvent *
eventRight:ServerEvent : ServerEventSet
Jscript는 오버로드된 연산자의 사용을 지원하지만 새로운 오버로드된 연산자 선언은 지원하지 않습니다.
매개 변수
- eventLeft
형식: Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server events.
- eventRight
형식: Microsoft.SqlServer.Management.Smo. . :: . .ServerEvent
A ServerEvent object that specifies the server events.
반환 값
형식: Microsoft.SqlServer.Management.Smo. . :: . .ServerEventSet
A ServerEventSet object value that specifies a set of server events.