PublicationMonitor.PublisherName プロパティ

パブリッシャーの名前を取得します。値の設定も可能です。

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

構文

'宣言
Public Property PublisherName As String 
    Get 
    Set
'使用
Dim instance As PublicationMonitor 
Dim value As String 

value = instance.PublisherName

instance.PublisherName = value
public string PublisherName { get; set; }
public:
property String^ PublisherName {
    String^ get ();
    void set (String^ value);
}
member PublisherName : string with get, set
function get PublisherName () : String 
function set PublisherName (value : String)

プロパティ値

型: System.String
パブリッシャーの名前です。

説明

PublisherName は、プロパティが PublicationMonitor のインスタンスに対して読み込まれると変更できなくなる必須プロパティです。

PublisherName プロパティを取得できるのは、ディストリビューター側の固定サーバー ロール sysadmin のメンバー、ディストリビューション データベースの固定データベース ロール db_owner または replmonitor のメンバー、あるいはパブリケーションのパブリケーション アクセス リスト (PAL) のユーザーだけです。

PublisherName プロパティは、すべてのユーザーが設定できます。

関連項目

参照

PublicationMonitor クラス

Microsoft.SqlServer.Replication 名前空間