IComStatusEvent.ComStatus Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Delegate that handles the Status event that is raised during agent execution.
Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)
Syntax
'Declaration
Sub ComStatus ( _
sender As Object, _
args As StatusEventArgs _
)
'Usage
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
)
Parameters
- sender
Type: System.Object
The source of the status event.
- args
Type: Microsoft.SqlServer.Replication.StatusEventArgs
A StatusEventArgs object that contains the event data.