The ExportRootCACertificateFile method exports the root certification authority certificate currently used by Forefront TMG to a file.
HRESULT ExportRootCACertificateFile( [in] BSTR FileName );
Required. BSTR that specifies the full path of the file to which the root certification root certificate will be exported.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Sub ExportRootCACertificateFile( _ ByVal FileName As String _ )
Required. String value that specifies the full path of the file to which the root certification root certificate will be exported.
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).|
Declared in Msfpccom.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.