Changes to SqlContext in Sql Server 2005

Bob Beauchemin posted on Monday about some changes to the SqlContext object in the December Sql Server 2005 CTP download.  I have been trying to track this down and repeat the issue.  I exchanged some emails with Bobb about this.  Bob suggested that I check for the SqlAccess.dll file.  I just replaced several old instances of the sqlaccess.dll file, reloaded my CLR objects and I had the same warnings that Bobb is reporting.  Here are some of the VB versions of those warnings (Bobb has the C# versions).

warning BC40000: 'Public Shared Function GetCommand() As System.Data.SqlServer.SqlCommand' is obsolete: 'Will be removed soon'

warning BC40000: 'Public Shared Function GetPipe() As System.Data.SqlServer.SqlPipe' is obsolete: 'Will be removed soon'

: warning BC40000: 'Public Shared Function GetTriggerContext() As System.Data.SqlServer.SqlTriggerContext' is obsolete: 'Will be removed soon'

Here are some of the changes.  Intellisense will have the full set of changes.
GetCommand() will become CreateCommand().
GetPipe() will become Pipe.

Wally

3 Comments

Comments have been disabled for this content.