Partager via


Propriété Endpoint.Owner

Gets or sets the owner of the endpoint.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Owner As String 
    Get 
    Set
'Utilisation
Dim instance As Endpoint 
Dim value As String 

value = instance.Owner

instance.Owner = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string Owner { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ Owner {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member Owner : string with get, set
function get Owner () : String 
function set Owner (value : String)

Valeur de propriété

Type : System.String
A String value that specifies the owner of the endpoint.

Notes

The account that creates the Endpoint is automatically the owner of the endpoint. You must have CREATE ENDPOINT permission to create an endpoint.

Exemples

Implémentation de points de terminaison

Voir aussi

Référence

Endpoint Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Affichages catalogue des points de terminaison (Transact-SQL)

CREATE ENDPOINT (Transact-SQL)