Compartir a través de


IVMDHCPVirtualNetworkServer::IsEnabled property

The IsEnabled property indicates whether the DHCP virtual network server is enabled.

This property is read/write.

Syntax

HRESULT put_IsEnabled(
  [in]  VARIANT_BOOL isEnabled
);

HRESULT get_IsEnabled(
  [out] VARIANT_BOOL *isEnabled
);

VB
VMDHCPVirtualNetworkServer.IsEnabled( _
  ByRef isEnabled, _
  ByVal isEnabled _
)

Property value

Contains vbTrue if the DHCP virtual network server is enabled, vbFalse if disabled.

This property value is read/write.

Error codes

Name Meaning
S_OK
The operation was successful.
E_POINTER
The parameter isEnabled was NULL.
DISP_E_EXCEPTION
An unexpected error has occurred.

Requirements

Product
Microsoft Virtual Server 2005 onWindows Server 2003
Download
Microsoft Virtual Server 2005 R2 SP1 Update onWindows Server 2008orWindows Server 2003
Header
VsComInterfaces.h

See also

IVMDHCPVirtualNetworkServer