Publisher 属性

Gets or sets the name of the instance of Microsoft SQL Server that is the Publisher for the subscription.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)

语法

声明
Public Overridable Property Publisher As String
    Get
    Set
用法
Dim instance As MergeSynchronizationAgent
Dim value As String

value = instance.Publisher

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

属性值

类型:System. . :: . .String
A String value.

实现

IMergeSynchronizationAgent. . :: . .Publisher

注释

Publisher is a required property. An exception is thrown if the Publisher property is set to null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) .