AgentCore.StatusEventHandler 대리자
Delegate that handles the Status event that is raised during agent execution.
네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Replication(Microsoft.SqlServer.Replication.dll)
구문
‘선언
<ComVisibleAttribute(False)> _
Public Delegate Sub StatusEventHandler ( _
sender As Object, _
e As StatusEventArgs _
)
‘사용 방법
Dim instance As New StatusEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void StatusEventHandler(
Object sender,
StatusEventArgs e
)
[ComVisibleAttribute(false)]
public delegate void StatusEventHandler(
Object^ sender,
StatusEventArgs^ e
)
[<ComVisibleAttribute(false)>]
type StatusEventHandler =
delegate of
sender:Object *
e:StatusEventArgs -> unit
Jscript는 위임 사용을 지원하지만 새로운 위임의 선언은 지원하지 않습니다.
매개 변수
- sender
유형: System. . :: . .Object
The source of the status event.
- e
유형: Microsoft.SqlServer.Replication. . :: . .StatusEventArgs
A StatusEventArgs object that contains the event data.
주의
The Status event returns a status message from the replication agent during synchronization. The AgentCore..::..StatusEventHandler returns a StatusEventArgs object when the Status event occurs during agent execution.