共用方式為


AvailabilityGroupListenerIPAddress.IPAddress 屬性

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

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

語法

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

value = instance.IPAddress

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

屬性值

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

請參閱

參考

AvailabilityGroupListenerIPAddress 類別

Microsoft.SqlServer.Management.Smo 命名空間