Partager via


Propriété ReplicationTable.DatabaseName

Gets or sets the name of the database that contains the replication table.

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

Syntaxe

'Déclaration
Public Property DatabaseName As String 
    Get 
    Set
'Utilisation
Dim instance As ReplicationTable 
Dim value As String 

value = instance.DatabaseName

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

Valeur de propriété

Type : System.String
The name of the database.

Notes

The DatabaseName property cannot be set after the object properties have been loaded.

The DatabaseName property can be retrieved by members of the sysadmin fixed server role at the Publisher or by members of the db_owner fixed database role on the publication database.

Voir aussi

Référence

ReplicationTable Classe

Espace de noms Microsoft.SqlServer.Replication