AvailabilityGroupListenerIPAddress.IsDHCP 屬性
Gets a value that indicates whether the object is DHCP.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone, "false")> _
Public Property IsDHCP As Boolean
Get
Set
'用途
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)
屬性值
型別:System.Boolean
true if the object is DHCP; otherwise, false.