Share via


ReplicationTable.Name Property

Gets or sets the name of the table.

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

Syntax

'Declaration
Public Property Name As String 
    Get 
    Set
'Usage
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)

Property Value

Type: System.String
The name of the table.

Implements

IReplicationDBObject.Name

Remarks

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.

See Also

Reference

ReplicationTable Class

Microsoft.SqlServer.Replication Namespace