Session constants control the output of methods listing replication agent execution log data.
| Constant | Value | Description |
|---|---|---|
| SQLDMOSession_All | 1 | Output contains log information for all sessions for agent. |
| SQLDMOSession_Errors | 2 | Output contains log information only for those execution attempts ending in error. |
| SQLDMOSession_Unknown | 256 | Bad or invalid value. |
EnumDistributionAgentSessions Method