IFPCNetworkInspectionSystem::ActivateSignatureSet method

Applies to: desktop apps only

The ActivateSignatureSet method activates the most recent signature set or a specified available signature set.

Syntax

HRESULT ActivateSignatureSet(
  [in]                 VARIANT_BOOL MostRecent,
  [in]                 Boolean MostRecent,
  [in, optional]       IFPCNisAvailableSignatureSet *SignatureSet,
  [in, ref, optional]  FPCNisAvailableSignatureSet &SignatureSet
);
FPCNetworkInspectionSystem.ActivateSignatureSet( _
  ByVal MostRecent As VARIANT_BOOL, _
  ByVal MostRecent As Boolean, _
  [ ByVal SignatureSet As IFPCNisAvailableSignatureSet ], _
  [ ByRef SignatureSet As FPCNisAvailableSignatureSet ] _
)

Parameters

  • MostRecent [in]

    C++

    Required. Boolean value that indicates whether the method activates the most recent signature set or a specified available signature set. If this parameter is set to VARIANT_TRUE, the method activates the most recent signature set. If this parameter is set to VARIANT_FALSE, the method activates the available signature set specified in the SignatureSet parameter.

    VB

    Required. Boolean value that indicates whether the method activates the most recent signature set or a specified available signature set. If this parameter is set to True, the method activates the most recent signature set. If this parameter is set to False, the method activates the available signature set specified in the SignatureSet parameter.

  • SignatureSet [in, optional]

    C++

    Optional. Pointer to an IFPCNisAvailableSignatureSet interface that represents the available signature set to activate. If MostRecent is set to VARIANT_TRUE, this parameter must be set to a valid interface pointer; otherwise, this parameter is ignored.

    VB

    Optional. Reference to an FPCNisAvailableSignatureSet object that represents the available signature set to activate. If MostRecent is set to True, this parameter must be set to a valid reference; otherwise, this parameter is ignored.

Return value

C++

This method returns S_OK if the call is successful; otherwise, it returns an error code.

VB

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

This method specifies the signature set held in the ActiveSignatureSet property.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

IDL

Msfpccom.idl

DLL

Msfpccom.dll

See also

FPCNetworkInspectionSystem

 

 

Build date: 7/12/2010