Share via


IFPCEELog::SQLAuthType property

Applies to: desktop apps only

The SQLAuthType property gets or sets a value from the FpcSQLAuthType enumerated type that specifies the type of authentication that will be used to connect to a SQL Server database. The possible authentication methods are:

  • Windows authentication.
  • SQL Server authentication.

This property is read/write.

Syntax

HRESULT put_SQLAuthType(
  FpcSQLAuthType AuthType
);

HRESULT get_SQLAuthType(
  FpcSQLAuthType *pAuthType
);
' Data type: FpcSQLAuthType

Property SQLAuthType( _
  ByVal AuthType As FpcSQLAuthType, _
  ByVal pAuthType As FpcSQLAuthType _
) As FpcSQLAuthType

Property value

Value from the FpcSQLAuthType enumerated type that specifies the type of authentication that will be used to connect to a SQL Server database.

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 fpcWinAuth, which indicates that Windows authentication will be used to connect to a SQL Server database.

Note that the SQL Server computer must be configured to support the type of authentication specified by this property.

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