The ActivateSignatureSet method activates the most recent or a specified signature set.
HRESULT ActivateSignatureSet( [in] VARIANT_BOOL MostRecent, [in, optional] IFPCNisAvailableSignatureSet* SignatureSet );
If MostRecent value is VARIANT_TRUE, this method activates the most recent signature set. If the value is VARIANT_FALSE, the SignatureSet parameter indicates the signature set to activate.
Optional. If MostRecent value is VARIANT_TRUE, this parameter is a IFPCNisAvailableSignatureSet interface pointer that specifies the signature set to activate.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Function ActivateSignatureSet( _ ByVal MostRecent As Boolean, _ [ ByRef SignatureSet As FPCNisAvailableSignatureSet ] _ )
If MostRecent value is True, this method activates the most recent signature set. If the value is False, the SignatureSet parameter indicates the signature set to activate.
Optional. If MostRecent value is True, this parameter is reference to a FPCNisAvailableSignatureSet object that specifies the signature set to activate.
If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
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.