SQLAuthType Property of the IFPCEELog Interface
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.
C++
HRESULT put_SQLAuthType(
FpcSQLAuthType AuthType
);
HRESULT get_SQLAuthType(
FpcSQLAuthType* pAuthType
);
Parameters
AuthType
Value from the FpcSQLAuthType enumerated type that specifies the type of authentication that will be used to connect to a SQL Server database.pAuthType
Pointer to a variable that on return receives a value from the FpcSQLAuthType enumerated type specifying the type of authentication that will be used to connect to a SQL Server database.
Return Value
These property methods return S_OK if the call is successful; otherwise, they return an error code.
Visual Basic
Property SQLAuthType 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.
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
Client | Requires Windows 7 or Windows Vista. |
Server | Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2. |
Version | Requires Forefront Threat Management Gateway (TMG) 2010. |
IDL | Declared in Msfpccom.idl. |
DLL | Requires Msfpccom.dll. |
See Also
Send comments about this topic to Microsoft
Build date: 6/30/2010