IFPCOutboundHTTPSInspectionConfiguration::ImportRootCACertificate method

Applies to: desktop apps only

The ImportRootCACertificate method imports the root certification authority certificate specified by the user for use by Forefront TMG.

Syntax

HRESULT ImportRootCACertificate(
  [in]  BSTR FileName,
  [in]  String FileName,
  [in]  BSTR Password,
  [in]  String Password
);
FPCOutboundHTTPSInspectionConfiguration.ImportRootCACertificate( _
  ByVal FileName As BSTR, _
  ByVal FileName As String, _
  ByVal Password As BSTR, _
  ByVal Password As String _
)

Parameters

  • FileName [in]

    C++

    Required. BSTR that specifies the full path of the file from which the root certification authority certificate will be imported.

    VB

    Required. String that specifies the full path of the file from which the root certification authority certificate will be imported.

  • Password [in]

    C++

    Required. BSTR that specifies the password protecting the file containing the certificate.

    VB

    Required. String that specifies the password protecting the file containing the certificate.

Return value

C++

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

VB

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

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

FPCOutboundHTTPSInspectionConfiguration

 

 

Build date: 7/12/2010