次の方法で共有


DynamicSnapshotLocation プロパティ

このサブスクライバのパーティション スナップショットの場所を取得します。値の設定も可能です。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Replication (Microsoft.SqlServer.Replication.dll)

構文

'宣言
Public Overridable Property DynamicSnapshotLocation As String
    Get
    Set
'使用
Dim instance As MergeSynchronizationAgent
Dim value As String

value = instance.DynamicSnapshotLocation

instance.DynamicSnapshotLocation = value
public virtual string DynamicSnapshotLocation { get; set; }
public:
virtual property String^ DynamicSnapshotLocation {
    String^ get ();
    void set (String^ value);
}
abstract DynamicSnapshotLocation : string with get, set
override DynamicSnapshotLocation : string with get, set
function get DynamicSnapshotLocation () : String
function set DynamicSnapshotLocation (value : String)

プロパティ値

型: System. . :: . .String
パーティション スナップショット ファイルの場所の完全なパスを表す String 値です。

実装

IMergeSynchronizationAgent. . :: . .DynamicSnapshotLocation

説明

EnumMergeDynamicSnapshotJobs メソッドは、パブリケーションに対して定義された各サブスクリプション パーティションの MergeDynamicSnapshotJob オブジェクトを返します。サブスクリプションのパーティションと一致するオブジェクトの DynamicSnapshotLocation プロパティから、既存のサブスクリプションのパーティション スナップショットの場所を取得できます。