ServerRole.Owner 属性

Gets the name of the owner of the ServerRole object.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Owner As String 
    Get 
    Set
用法
Dim instance As ServerRole 
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 contains the name of the object owner.

请参阅

参考

ServerRole 类

Microsoft.SqlServer.Management.Smo 命名空间