Bagikan melalui


AvailabilityGroupListenerIPAddress.SubnetMask Property

Gets or sets the subnet IP mask 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 SubnetMask As String 
    Get 
    Set
'Usage
Dim instance As AvailabilityGroupListenerIPAddress 
Dim value As String 

value = instance.SubnetMask

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

Property Value

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

See Also

Reference

AvailabilityGroupListenerIPAddress Class

Microsoft.SqlServer.Management.Smo Namespace