Microsoft Internet Security and Acceleration Server 2004 SDK

Enable Property of IFPCVpnNetworkConfiguration[C++]

FPCVpnNetworkConfiguration.Enable [Visual Basic]

[C++]

The Enable property gets or sets a Boolean value that indicates whether the site-to-site VPN access is enabled.

HRESULT get_Enable(
  VARIANT_BOOL* pfEnabled
);

HRESULT put_Enable(
  VARIANT_BOOL fEnabled
);

Parameters

pfEnabled
Pointer to a Boolean variable that is set on return to VARIANT_TRUE if the site-to-site VPN access is enabled, or to VARIANT_FALSE if the site-to-site VPN access is disabled.
fEnabled
Boolean value that indicates whether the site-to-site VPN access is disabled.

Return Values

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write.

[Visual Basic]

The Enable property gets or sets a Boolean value that indicates whether the site-to-site VPN access is enabled.

Property Enable As Boolean

Property Value

Boolean value that indicates whether the site-to-site VPN access is enabled.

Remarks

This property is read/write.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Msfpccom.idl.
Library: Use Microsoft Internet Security and Acceleration Server 2004 Administration Library.

See Also

FPCVpnNetworkConfiguration