Condividi tramite


Proprietà Publication.SnapshotAgentExists

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property SnapshotAgentExists As Boolean 
    Get
'Utilizzo
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

Valore proprietà

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

Eccezioni

Eccezione Condizione
ApplicationException

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

Vedere anche

Riferimento

Publication Classe

Spazio dei nomi Microsoft.SqlServer.Replication