다음을 통해 공유


MergePublication.MaxConcurrentDynamicSnapshots 속성

Gets or sets the maximum number of concurrent Snapshot Agent sessions supported when generating data snapshots when the publication has a parameterized row filter.

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

구문

‘선언
Public Property MaxConcurrentDynamicSnapshots As Integer 
    Get 
    Set
‘사용 방법
Dim instance As MergePublication 
Dim value As Integer 

value = instance.MaxConcurrentDynamicSnapshots

instance.MaxConcurrentDynamicSnapshots = value
public int MaxConcurrentDynamicSnapshots { get; set; }
public:
property int MaxConcurrentDynamicSnapshots {
    int get ();
    void set (int value);
}
member MaxConcurrentDynamicSnapshots : int with get, set
function get MaxConcurrentDynamicSnapshots () : int 
function set MaxConcurrentDynamicSnapshots (value : int)

속성 값

유형: System.Int32
When 0, there is no limit to the number of concurrent filtered data snapshot sessions that can run simultaneously against the publication at any given time.

주의

If more than the maximum number of snapshot processes are scheduled to run at the same time, the outstanding jobs are placed in a queue until a currently-running snapshot process is complete.

The MaxConcurrentDynamicSnapshots property can be retrieved by members of the db_owner or replmonitor fixed database roles on the publication database or by members of the publication access list (PAL) for the publication.

The MaxConcurrentDynamicSnapshots property can be set by members of the sysadmin fixed server role at the Publisher. It can also be set by members of the db_owner fixed database role on the publication database.

Retrieving MaxConcurrentDynamicSnapshots is equivalent to executing sp_helpmergepublication.

Setting MaxConcurrentDynamicSnapshots is equivalent to executing sp_addmergepublication or sp_changemergepublication.

참고 항목

참조

MergePublication 클래스

Microsoft.SqlServer.Replication 네임스페이스