Priority プロパティ

サブスクリプション間の競合を解決するときに使用される、他のサーバー サブスクリプションに対するこのサーバー サブスクリプションの重み付けを取得します。値の設定も可能です。

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

構文

'宣言
Public Property Priority As Single
    Get
    Set
'使用
Dim instance As MergePullSubscription
Dim value As Single

value = instance.Priority

instance.Priority = value
public float Priority { get; set; }
public:
property float Priority {
    float get ();
    void set (float value);
}
member Priority : float32 with get, set
function get Priority () : float
function set Priority (value : float)

プロパティ値

型: System. . :: . .Single
Single 値です。

説明

Priority プロパティが使用されるのは、SubscriberType の値が Global の場合だけです。

既存のサブスクリプションに Priority プロパティは設定できません。

Priority プロパティを取得できるのは、サブスクライバ側の固定サーバー ロール sysadmin のメンバ、またはサブスクリプション データベースの固定データベース ロール db_owner のメンバだけです。

Priority プロパティを設定できるのは、サブスクライバ側の固定サーバー ロール sysadmin のメンバ、またはサブスクリプション データベースの固定データベース ロール db_owner のメンバだけです。

Priority プロパティを取得すると、sp_helpmergepullsubscription を実行したのと同じことになります。

Priority プロパティを設定すると、sp_addmergepullsubscription を実行したのと同じことになります。

この名前空間、クラス、またはメンバは、Microsoft .NET Framework 2.0 でのみサポートされています。