Share via


EnumSnapshotAgentView Method

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.

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

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);

Applies To:

DistributionPublication Object