다음을 통해 공유


Publication.SnapshotAgentExists 속성

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

네임스페이스:  Microsoft.SqlServer.Replication
어셈블리:  Microsoft.SqlServer.Rmo(Microsoft.SqlServer.Rmo.dll)

구문

‘선언
Public ReadOnly Property SnapshotAgentExists As Boolean 
    Get
‘사용 방법
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

속성 값

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

예외

예외 조건
ApplicationException

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

참고 항목

참조

Publication 클래스

Microsoft.SqlServer.Replication 네임스페이스