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


Свойство Publication

Gets or sets the name of the publication.

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

Синтаксис

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

value = instance.Publication

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

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

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

Реализует интерфейс

IMergeSynchronizationAgent. . :: . .Publication

Замечания

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