Partager via


OwnerName propriété

Gets or sets the name of table owner.

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

Syntaxe

'Déclaration
Public Property OwnerName As String
    Get
    Set
'Utilisation
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)

Valeur de la propriété

Type : System. . :: . .String
A String value.

Implémente

IReplicationDBObject. . :: . .OwnerName

Notes

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.

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