次の方法で共有


AvailabilityGroupListenerIPAddress.SubnetMask プロパティ

可用性グループのリスナーのサブネット IP マスクを取得または設定します。

名前空間:  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
可用性グループのリスナーのサブネット IP マスクです。

関連項目

参照

AvailabilityGroupListenerIPAddress クラス

Microsoft.SqlServer.Management.Smo 名前空間