This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.
The UseTrustedConnection property selects the authentication mode for registry-listed instances of Microsoft SQL Server.
Microsoft client applications for SQL Server, such as SQL Server Management Studio, make use of registry-maintained lists for instances of SQL Server, allowing user selection of servers. Any application has access to the registry and can use the lists as part of application logic.
Registry data includes a default setting for use of SQL Server Authentication or Windows Authentication when the SQL Server client application connects to the listed instance.
If 0, a connection initiated by a Microsoft client application for SQL Server using an instance of SQL Server in the registry listing uses SQL Server Authentication. Configure authentication using the Login and Password properties.
If 1, a connection initiated by a Microsoft client application for SQL Server using an instance of SQL Server in the registry listing uses Windows Authentication.