Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Property ValueA ServerConnection object that specifies the details of the current connection to the instance of SQL Server.
This property can be used to change connection settings, such as the name of the instance of SQL Server or the authentication type. The ConnectionContext property is represented by the ServerConnection class. When connecting to the local instance of SQL Server by using Windows authentication, the default values are used. You do not have to set any properties.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.