Поделиться через


Свойство DatabaseName

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

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public Property DatabaseName As String
    Get
    Set
'Применение
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)

Значение свойства

Тип: System. . :: . .String
A String value.

Замечания

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.

The DatabaseName property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.