Session Constants (SQLDMO_SESSION_TYPE)

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

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 the agent.

SQLDMOSession_Errors

2

Output contains log information only for those execution attempts ending in error.

SQLDMOSession_Unknown

256

The value is not valid.