Partager via


DistributionDatabase propriété

Gets or sets the name of the distribution database that the distribution Publisher uses.

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

Syntaxe

'Déclaration
Public Property DistributionDatabase As String
    Get
    Set
'Utilisation
Dim instance As RegisteredSubscriber
Dim value As String

value = instance.DistributionDatabase

instance.DistributionDatabase = value
public string DistributionDatabase { get; set; }
public:
property String^ DistributionDatabase {
    String^ get ();
    void set (String^ value);
}
member DistributionDatabase : string with get, set
function get DistributionDatabase () : String
function set DistributionDatabase (value : String)

Valeur de la propriété

Type : System. . :: . .String
A String value that specifies the name of the distribution database that the distribution Publisher uses.

Notes

In Microsoft SQL Server 2005, it is no longer required to explicitly register a Subscriber at the Publisher. This property is provided for backward compatibility with previous versions of SQL Server.