Partilhar via


Propriedade Owner

Gets or sets the owner of the endpoint.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
<SfcPropertyAttribute> _
Public Property Owner As String
    Get
    Set
'Uso
Dim instance As Endpoint
Dim value As String

value = instance.Owner

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

Valor da propriedade

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

Comentários

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