Publication.CreateSnapshotAgentByDefault 속성

Gets or sets if the Snapshot Agent job is added automatically when the publication is created.

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

public bool CreateSnapshotAgentByDefault { get; set; }

속성 값

유형: System.Boolean
A Boolean value. If true, the default, a Snapshot Agent job is created. If false, a Snapshot Agent job is not created, and the snapshot must be generated programmatically.

The default value of CreateSnapshotAgentByDefault is true. If you specify a value of false for CreateSnapshotAgentByDefault, you must manually run the Snapshot Agent to generate the initial snapshot for the publication. For more information, see 방법: 초기 스냅숏 만들기(RMO 프로그래밍).

The CreateSnapshotAgentByDefault can be set by any user. The property can only be set before a publication is created.

커뮤니티 추가 항목

추가
표시: