Share via


AvailabilityGroupListenerIPAddress.IPAddress Property

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

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

Syntax

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

value = instance.IPAddress

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

Property Value

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

See Also

Reference

AvailabilityGroupListenerIPAddress Class

Microsoft.SqlServer.Management.Smo Namespace