다음을 통해 공유


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.dll의 Microsoft.SqlServer.Replication

구문

‘선언
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) .