共用方式為


AvailabilityGroupListenerIPAddress.IPAddressState 屬性

Gets the IP state of the availability group listener.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property IPAddressState As AvailabilityGroupListenerIPState 
    Get
'用途
Dim instance As AvailabilityGroupListenerIPAddress 
Dim value As AvailabilityGroupListenerIPState 

value = instance.IPAddressState
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public AvailabilityGroupListenerIPState IPAddressState { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property AvailabilityGroupListenerIPState IPAddressState {
    AvailabilityGroupListenerIPState get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IPAddressState : AvailabilityGroupListenerIPState
function get IPAddressState () : AvailabilityGroupListenerIPState

屬性值

型別:Microsoft.SqlServer.Management.Smo.AvailabilityGroupListenerIPState
The IP state of the availability group listener.

請參閱

參考

AvailabilityGroupListenerIPAddress 類別

Microsoft.SqlServer.Management.Smo 命名空間