AvailabilityGroupListenerIPAddress.SubnetIP Property

Gets or sets the subnet IP of the availability group listener.

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

Syntax

'Declaration
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SubnetIP As String 
    Get 
    Set
'Usage
Dim instance As AvailabilityGroupListenerIPAddress 
Dim value As String 

value = instance.SubnetIP

instance.SubnetIP = value
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string SubnetIP { get; set; }
[SfcKeyAttribute()]
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ SubnetIP {
    String^ get ();
    void set (String^ value);
}
[<SfcKeyAttribute()>]
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member SubnetIP : string with get, set
function get SubnetIP () : String 
function set SubnetIP (value : String)

Property Value

Type: System.String
The subnet IP of the availability group listener.

See Also

Reference

AvailabilityGroupListenerIPAddress Class

Microsoft.SqlServer.Management.Smo Namespace