Publication.SnapshotAgentExists 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取是否存在 SQL Server 代理 作业以生成本出版物的初始快照。
public:
property bool SnapshotAgentExists { bool get(); };
public bool SnapshotAgentExists { get; }
member this.SnapshotAgentExists : bool
Public ReadOnly Property SnapshotAgentExists As Boolean
属性值
这是一个Boolean表示发布文件是否存在快照代理作业的值。
例外
如果该发布品不存在于服务器上,或服务器未运行SQL Server 2005及更高版本。