共用方式為


AvailabilityGroupListenerIPAddress.SubnetIP 屬性

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

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

語法

'宣告
<SfcKeyAttribute()> _
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property SubnetIP As String 
    Get 
    Set
'用途
Dim instance As AvailabilityGroupListenerIPAddress 
Dim value As String 

value = instance.SubnetIP

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

屬性值

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

請參閱

參考

AvailabilityGroupListenerIPAddress 類別

Microsoft.SqlServer.Management.Smo 命名空間