Partager via


Publication propriété

Gets or sets the name of the publication.

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Overridable Property Publication As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .String
A String value.

Implémente

IMergeSynchronizationAgent. . :: . .Publication

Notes

Publication is a required property. An exception is thrown if the Publication property is set to null Nothing nullptr unit une référence Null (Nothing dans Visual Basic) .