Share via


AvailabilityGroupListenerIPAddress.SubnetPrefixLength Property

Gets or sets the subnet prefix length of the availability group listener.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property SubnetPrefixLength As Integer 
    Get
'Usage
Dim instance As AvailabilityGroupListenerIPAddress 
Dim value As Integer 

value = instance.SubnetPrefixLength
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int SubnetPrefixLength { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int SubnetPrefixLength {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member SubnetPrefixLength : int
function get SubnetPrefixLength () : int

Property Value

Type: System.Int32
The subnet prefix length of the availability group listener.

See Also

Reference

AvailabilityGroupListenerIPAddress Class

Microsoft.SqlServer.Management.Smo Namespace