Поделиться через


Свойство Endpoint.Owner

Gets or sets the owner of the endpoint.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Owner As String 
    Get 
    Set
'Применение
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)

Значение свойства

Тип: System.String
A String value that specifies the owner of the endpoint.

Замечания

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

Примеры

Реализация конечных точек

См. также

Справочник

Endpoint Класс

Пространство имен Microsoft.SqlServer.Management.Smo

Другие ресурсы

Представления каталога конечных точек (Transact-SQL)

CREATE ENDPOINT (Transact-SQL)