ActivateSignatureSet Method of the IFPCNetworkInspectionSystem Interface

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

[C++]

Syntax

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

Parameters

MostRecent

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.

SignatureSet

Optional. If MostRecent value is VARIANT_TRUE, this parameter is a IFPCNisAvailableSignatureSet interface pointer that specifies the signature set to activate.

Return Value

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

[Visual Basic]

Syntax

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

Parameters

MostRecent

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.

SignatureSet

Optional. If MostRecent value is True, this parameter is reference to a FPCNisAvailableSignatureSet object that specifies the signature set to activate.

Return Value

If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

Requirements

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.

See Also

FPCNetworkInspectionSystem


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.