

The packet size property value must be between 57. Indicates a network packet size in bytes. If this property is set to False, SQLOLEDB does not perform OEM/ANSI character conversion on multi-byte character string data. If this property is set to True, SQLOLEDB performs OEM/ANSI character conversion when multi-byte character strings are retrieved from, or sent to, the SQL Server. This property can be set to True or False. Indicates whether OEM/ANSI characters are converted. The default is provided by the SQL Server client configuration.ĭetermines whether SQL Server creates temporary stored procedures when Commands are prepared (by the Prepared property). The name should not include the path or the. Indicates the name of the network library (DLL) used to communicate with the SQL Server. Indicates the network address of the SQL Server specified by the Location property. The language must be installed on the SQL Server, otherwise opening the connection will fail. Identifies the language used for system message selection and formatting. The SQL Server login and password are specified in the User Id and Password properties. If this property is set to No, SQLOLEDB uses Mixed Mode to authorize user access to the SQL Server database. If this property is set to Yes, SQLOLEDB uses Microsoft Windows NT Authentication Mode to authorize user access to the SQL Server database specified by the Location and Datasource property values. As with the ADO connection properties, these provider-specific properties can be set via the Properties collection of a Connection or can be set as part of the ConnectionString. The provider supports several provider-specific connection parameters in addition to those defined by ADO. If you are connecting to a data source provider that supports Windows authentication, you should specify Trusted_Connection=yes or Integrated Security = SSPI instead of user ID and password information in the connection string. Specifies the user password (for SQL Server Authentication). Specifies the user name (for SQL Server Authentication). Specifies the name of a database on the server.


Specifies the OLE DB Provider for SQL Server. The string consists of these keywords: Keyword

Typical Connection StringĪ typical connection string for this provider is: This value can also be set or read using the Provider property. To connect to this provider, set the Provider argument to the ConnectionString property to: Instead, use the new Microsoft OLE DB Driver for SQL Server (MSOLEDBSQL) which will be updated with the most recent server features. The Microsoft OLE DB Provider for SQL Server (SQLOLEDB) remains deprecated and it is not recommended to use it for new development work. The Microsoft OLE DB Provider for SQL Server, SQLOLEDB, allows ADO to access Microsoft SQL Server. Taraz Taraz Not the answer you're looking for? Browse other questions tagged sql-serverwonderware or ask your own question.
