Share via


AvailabilityReplica.Owner Property

Gets or sets the owner of the availability replica.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property Owner As String 
    Get
'Usage
Dim instance As AvailabilityReplica 
Dim value As String 

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

Property Value

Type: System.String
The owner of the availability replica.

See Also

Reference

AvailabilityReplica Class

Microsoft.SqlServer.Management.Smo Namespace