共用方式為


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 TransSynchronizationAgent
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.

實作

ITransSynchronizationAgent. . :: . .Publication

備註

Publication is a required property. An exception is thrown if the Publication property is set to null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) .