共用方式為


ReplicationTable.OwnerName 屬性

Gets or sets the name of table owner.

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

語法

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

value = instance.OwnerName

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

屬性值

型別:System.String
The name of table owner.

實作

IReplicationDBObject.OwnerName

備註

The default owner is the database owner (dbo).

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

The OwnerName 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.

請參閱

參考

ReplicationTable 類別

Microsoft.SqlServer.Replication 命名空間