共用方式為


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.

範例

實作端點