The DBPROPSET_DBINIT property set contains the following properties. All of these properties are in the INITIALIZATION property group.
Property ID (Properties not supported in DBPROPSET_DBINIT) | Description |
DBPROP_AUTH_CACHE_AUTHINFO | Type: VT_BOOL Typical R/W: R Only Description : Cache Authorization Specifies values as either of:
|
DBPROP_AUTH_ENCRYPT_PASSWORD | Type: VT_BOOL Typical R/W: R Only Description: Encrypt Password Specifies values as either of:
|
DBPROP_AUTH_INTEGRATED | Type: VT_BSTR Typical R/W: Not supported Description: Integrated Security Specifies a string that contains the name of the authentication service used by the server. This is used to identify a user using an identity provided by an authentication domain. If the BSTR is a null pointer, this property is used and no other DBPROP_AUTH* properties are needed. If provided, their values are ignored. |
DBPROP_AUTH_MASK_PASSWORD | Type: VT_BOOL Typical R/W: R Only Description: Mask Password Specifies values as either of:
|
DBPROP_AUTH_PASSWORD | Type: VT_BSTR Typical R/W: R/W Description: Password Specifies the password to be used when connecting to the data source or enumerator. When the value of this property is retrieved with IDBProperties::GetProperties, the provider might return a mask, such as “******”, or an empty string, instead of the actual password. Note that the password is still set internally and is used when IDBInitialize::Initialize is called. |
DBPROP_AUTH_PERSIST_ENCRYPTED | Type: VT_BOOL Typical R/W: R Only Description: Persist Encrypted Sepcifies values as either of:
|
DBPROP_AUTH_PERSIST_SENSITIVE_AUTHINFO | Type: VT_BOOL Typical R/W: R Only Description: Persist Security Info Specifies values as either of:
|
DBPROP_AUTH_USERID | Type: VT_BSTR Typical R/W: R/W Description: User ID Specifies the user ID to be used when connecting to the data source or enumerator. |
DBPROP_INIT_ASYNCH | Type: VT_I4 Typical R/W: R/W Description: Asynchronous Processing Specifies a bitmask that indicates the asynchronous processing performed on the rowset, that is, zero or more of:
If no bits are set (the default), IDBInitialize::Initialize does not return until the data source is completely initialized. |
DBPROP_INIT_CONNECT | Type: VT_BOOL Typical R/W: Not Supported Description: Connect |
DBPROP_INIT_DATASOURCE | Type: VT_BSTR Typical R/W: R/W Description: Data Source Specifies the name of the database or enumerator to which to connect. |
DBPROP_INIT_HWND | Type: VT_I4 Typical R/W: R/W Description: Window Handle Specifies the window handle to be used if the data source object or enumerator needs to prompt for additional information. |
DBPROP_INIT_IMPERSONATION_LEVEL | Type: VT_I4 Typical R/W: Not Supported Description: Impersonation Level Specifies the level of impersonation that the server is allowed to use when impersonating the client. This property applies only to non–Remote Procedure Call (RPC) network connections. Remote Procedure Call provides similar impersonation levels. The values of this property correspond directly to the levels of impersonation that can be specified for authenticated RPC connections, but can be applied to connections other than authenticated RPC. Specifies values as one of:
|
DBPROP_INIT_LCID | Type: VT_I4 Typical R/W: R/W Description: Locale Identifier The locale ID (LCID) of preference for the consumer. Consumers specify the LCID at initialization. This provides a method by which the server can determine the consumer’s LCID of choice . This property does not guarantee that all text returned to the consumer will be translated according to the LCID. Providers may wish to set dwOptions in the DBPROP structure for this property to DBPROPOPTIONS_SETIFCHEAP. |
DBPROP_INIT_LOCATION | Type: VT_BSTR Typical R/W: Not Supported Description: Location Specifies the location of the data source or enumerator to which to connect. Typically, this will be a server name. |
DBPROP_INIT_MODE | Type: VT_I4 Typical R/W: R/W Description: Mode Specifies a bitmask that indicates access permissions, that is, zero or more of:
|
DBPROP_INIT_PROMPT | Type: VT_I2 Typical R/W: R Only Description: Prompt Specifies whether to prompt the user during initialization, that is:
|
DBPROP_INIT_PROTECTION_LEVEL | Type: VT_I4 Typical R/W: Not Supported Description: Protection Level Specifies the level of protection for data sent between client and server. This property applies only to non–Remote Procedure Call (RPC) network connections. RPC provides similar protection levels. The values of this property correspond directly to the levels of protection that can be specified for authenticated RPC connections, but can be applied to connections other than authenticated RPC. Specifies values as one of:
|
DBPROP_INIT_PROVIDERSTRING | Type: VT_BSTR Typical R/W: R/W Description: Extended Properties Specifies a string that contains provider-specific, extended connection information. Use of this property implies that the consumer knows how this string will be interpreted and used by the provider. Consumers should use this property only for provider-specific connection information that cannot be explicitly described through the property mechanism. |
DBPROP_INIT_TIMEOUT | Type: VT_I4 Typical R/W: Not Supported Description: Connect Timeout Specifies the amount of time (in seconds) to wait for initialization to complete. |