EnumSnapshotAgentView Method

SQL-DMO

SQL-DMO

EnumSnapshotAgentView Method

The EnumSnapshotAgentView method returns a QueryResults object that enumerates execution status information for an agent used to create snapshots of replicated data.

Applies To
DistributionPublication Object
Syntax

object.EnumSnapshotAgentView( ) as QueryResults

Parts

object

Expression that evaluates to an object in the Applies To list

Prototype (C/C++)

HRESULT EnumSnapshotAgentView(
LPSQLDMOQUERYRESULTS* ppResults);