Поделиться через


Свойство Subscriber

Gets or sets the name of the instance of Microsoft SQL Server that is the Subscriber.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Replication (в Microsoft.SqlServer.Replication.dll)

Синтаксис

'Декларация
Public Overridable Property Subscriber As String
    Get
    Set
'Применение
Dim instance As TransSynchronizationAgent
Dim value As String

value = instance.Subscriber

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

Значение свойства

Тип: System. . :: . .String
A String value.

Реализует

ITransSynchronizationAgent. . :: . .Subscriber

Замечания

Subscriber is a required property. An exception is thrown if the Subscriber property is set to null Nothing nullptr unit пустая ссылка (Nothing в Visual Basic) .