共用方式為


Name 屬性

Gets or sets the name of the table.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property Name As String
    Get
    Set
'用途
Dim instance As ReplicationTable
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
virtual property String^ Name {
    String^ get () sealed;
    void set (String^ value) sealed;
}
abstract Name : string with get, set
override Name : string with get, set
final function get Name () : String
final function set Name (value : String)

屬性值

型別:System. . :: . .String
A String value.

實作

IReplicationDBObject. . :: . .Name

備註

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

The Name 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 Name property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.