共用方式為


AvailabilityGroupListenerIPAddress.SubnetMask 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
<SfcKeyAttribute()> _
Public Property SubnetMask As String 
    Get 
    Set
'用途
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)

屬性值

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

請參閱

參考

AvailabilityGroupListenerIPAddress 類別

Microsoft.SqlServer.Management.Smo 命名空間