此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Delegate that handles the Status event that is raised during agent execution.
命名空间: Microsoft.SqlServer.Replication
程序集: Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)
语法
声明
Sub ComStatus ( _
sender As Object, _
args As StatusEventArgs _
)
用法
Dim instance As IComStatusEvent
Dim sender As Object
Dim args As StatusEventArgs
instance.ComStatus(sender, args)
void ComStatus(
Object sender,
StatusEventArgs args
)
void ComStatus(
Object^ sender,
StatusEventArgs^ args
)
abstract ComStatus :
sender:Object *
args:StatusEventArgs -> unit
function ComStatus(
sender : Object,
args : StatusEventArgs
)
参数
- sender
类型:System.Object
The source of the status event.
- args
类型:Microsoft.SqlServer.Replication.StatusEventArgs
A StatusEventArgs object that contains the event data.