The Add method creates a new FPCVendorParametersSet object in the collection and returns a reference to it.
HRESULT Add( [in] BSTR Id, [in, optional] VARIANT_BOOL Encrypted, [in, optional] VARIANT_BOOL EncryptionReadable, [out] IFPCVendorParametersSet** ppNewSet );
Required. The string-formatted globally unique identifier (GUID) of the new vendor parameters set.
Address of an interface pointer that on return points to the new IFPCVendorParametersSet interface created.
Function Add( _ ByVal Id As String, _ [ ByVal Encrypted As Boolean ], _ [ ByVal EncryptionReadable As Boolean ] _ ) As FPCVendorParametersSet
Required. The string-formatted globally unique identifier (GUID) of the new vendor parameters set.
The GUID supplied is formatted as a string in the form {12345678-1234-1234-1234-123456789abc}. Note the presence of the braces normally used with GUIDs.
If an FPCVendorParametersSet object is added with the Encrypted parameter set to TRUE (VARIANT_TRUE in C++) and the EncryptionReadable parameter set to FALSE (VARIANT_FALSE), only calls made under the Local Service account or the Network Service account in Windows Server 2008 will be able to read the data stored in the object.
Note When a user that has permission to access storage, but not to read the encrypted data, requests an FPCVendorParametersSet object that was created with these parameter settings, an empty FPCVendorParametersSet object is returned. Then, if that user makes changes to the object and saves it to persistent storage, the original FPCVendorParametersSet object will be overwritten, and only the data added by that user will be saved.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.