Share via


ActivateSignatureSet Method of the IFPCNetworkInspectionSystem Interface

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

C++

Syntax

HRESULT ActivateSignatureSet(
  [in]            VARIANT_BOOL MostRecent,
  [in, optional]  IFPCNisAvailableSignatureSet* SignatureSet
);

Parameters

  • MostRecent
    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.

  • SignatureSet
    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.

Return Value

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

Visual Basic

Syntax

Sub ActivateSignatureSet( _
  ByVal MostRecent As Boolean, _
  [ ByRef SignatureSet As FPCNisAvailableSignatureSet ] _
)

Parameters

  • MostRecent
    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
    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

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

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCNetworkInspectionSystem

Send comments about this topic to Microsoft

Build date: 6/30/2010