共用方式為


TransSynchronizationAgent.PublisherDatabase 屬性

Gets or sets the name of the publication database.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Replication (在 Microsoft.SqlServer.Replication.dll 中)

語法

'宣告
Public Overridable Property PublisherDatabase As String 
    Get 
    Set
'用途
Dim instance As TransSynchronizationAgent 
Dim value As String 

value = instance.PublisherDatabase

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

屬性值

型別:System.String
The name of the publication database.

實作

ITransSynchronizationAgent.PublisherDatabase

備註

PublisherDatabase is a required property. An exception is thrown if PublisherDatabase is nullnull 參考 (在 Visual Basic 中為 Nothing).

請參閱

參考

TransSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間