Share via


IFPCLog::LogDBDataSource property

Applies to: desktop apps only

The LogDBDataSource property gets or sets the Structured Query Language (SQL) data source name (DSN).

This property is read/write.

Syntax

HRESULT put_LogDBDataSource(
  BSTR bstrDSN
);

HRESULT get_LogDBDataSource(
  BSTR *pbstrDSN
);
' Data type: String

Property LogDBDataSource( _
  ByVal bstrDSN As BSTR, _
  ByVal pbstrDSN As BSTR _
) As String

Property value

String that specifies the SQL DSN.

Error codes

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Remarks

This property is read/write. Its default value is an empty string.

This property is applicable only if the LogType property is set to fpcODBC.

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

FPCLog

 

 

Build date: 7/12/2010