次の方法で共有


DistributionArticle.PublisherName プロパティ

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

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

構文

'宣言
Public Property PublisherName As String 
    Get 
    Set
'使用
Dim instance As DistributionArticle 
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
String 値です。

説明

PublisherName プロパティは必須プロパティで、既存のパブリケーションに対しては変更できません。

PublisherName プロパティを取得できるのは、ディストリビューション データベースの固定データベース ロール db_owner のメンバーだけです。

PublisherName プロパティを設定できるのは、ディストリビューション データベースの固定データベース ロール db_owner のメンバーだけです。

関連項目

参照

DistributionArticle クラス

Microsoft.SqlServer.Replication 名前空間