Bagikan melalui


AvailabilityGroupListenerIPAddress.IsDHCP Property

Gets a value that indicates whether the object is DHCP.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone, "false")> _
Public Property IsDHCP As Boolean 
    Get 
    Set
'Usage
Dim instance As AvailabilityGroupListenerIPAddress 
Dim value As Boolean 

value = instance.IsDHCP

instance.IsDHCP = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone, "false")]
public bool IsDHCP { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone, L"false")]
public:
property bool IsDHCP {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone, "false")>]
member IsDHCP : bool with get, set
function get IsDHCP () : boolean 
function set IsDHCP (value : boolean)

Property Value

Type: System.Boolean
true if the object is DHCP; otherwise, false.

See Also

Reference

AvailabilityGroupListenerIPAddress Class

Microsoft.SqlServer.Management.Smo Namespace