Microsoft Internet Security and Acceleration Server 2004 SDK

Value Property of IFPCClientSettingsSection[C++]

FPCClientSettingsSection.Value [Visual Basic]

[C++]

The Value property gets or sets the value associated with the setting name supplied.

HRESULT get_Value(
  BSTR bstrName,
  BSTR* pbstrValue
);

HRESULT put_Value(
  BSTR bstrName,
  BSTR bstrValue
);

Parameters

bstrName
BSTR specifying the name of the setting for which the value is to be retrieved or set.
pbstrValue
Pointer to a BSTR that is set on return to the string value associated with the setting name specified by the bstrName parameter.
bstrValue
BSTR associated with the setting name specified by the bstrName parameter.

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 Value property gets or sets the value associated with the setting name supplied.

Property Value( _
  ByVal Name As String _
) As String

Parameters

Name
String specifying the setting name for which the value is to be retrieved or set.

Property Value

String associated with the setting name specified by the Name parameter.

Remarks

This property is read/write.

The FPCClientSettingsSection object is used to store data that is defined as a {name, value} pair using the Value property. The following example stores a property named x having a value of 1:

FPCClientSettingsSection.Value("x") = "1"

The expression Value("x") will return the value.

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

FPCClientSettingsSection