Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Gets if the SQL Server Agent job exists to generate the initial snapshot for this publication.
Espace de noms : Microsoft.SqlServer.Replication
Assembly : Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)
Syntaxe
'Déclaration
Public ReadOnly Property SnapshotAgentExists As Boolean
Get
'Utilisation
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
Valeur de propriété
Type : System.Boolean
A Boolean value that indicates if the Snapshot Agent job exists for the publication.
Exceptions
| Exception | Condition |
|---|---|
| ApplicationException | If the publication does not exist on the server, or the server is not running SQL Server 2005 or later. |