Compartir a través de


Publication.SnapshotAgentExists Propiedad

Gets if the SQL Server Agent job exists to generate the initial snapshot for this publication.

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public ReadOnly Property SnapshotAgentExists As Boolean 
    Get
'Uso
Dim instance As Publication 
Dim value As Boolean 

value = instance.SnapshotAgentExists
public bool SnapshotAgentExists { get; }
public:
property bool SnapshotAgentExists {
    bool get ();
}
member SnapshotAgentExists : bool
function get SnapshotAgentExists () : boolean

Valor de la propiedad

Tipo: System.Boolean
A Boolean value that indicates if the Snapshot Agent job exists for the publication.

Excepciones

Excepción Condición
ApplicationException

If the publication does not exist on the server, or the server is not running SQL Server 2005 or later.

Vea también

Referencia

Publication Clase

Espacio de nombres Microsoft.SqlServer.Replication