ServerRole.Owner Property
Gets the name of the owner of the ServerRole object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property Owner As String
Get
Set
'Usage
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)
Property Value
Type: System.String
A String value that contains the name of the object owner.