|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
SqlNotificationAuthType not foundSqlNotificationAuthType.None thx. I get following eerror Error 3 The name 'SqlNotificationTransports' does not exist in the current context using System.Data.SqlClient; ... .... .... SqlDependency depend = new SqlDependency(cmd, null, SqlNotificationAuthType.None, SqlNotificationEncryptionType.None, SqlNotificationTransports.Tcp, 10000); That enum (and a few other classes/enums) were present in pre-release
versions of ADO.NET 2.0 but were removed in the RTM version. Sushil posted a blog entry that describes the changes and how the new version works: http://blogs.msdn.com/dataaccess/archive/2005/09/27/474447.aspx Hope this helps. -- Show quotePablo Castro Program Manager - ADO.NET Team Microsoft Corp. This posting is provided "AS IS" with no warranties, and confers no rights. "skg" <s**@yahoo.com> wrote in message news:OilVXDGRGHA.3972@TK2MSFTNGP10.phx.gbl... >i am using vs.net 2005 but unable to find definition for >SqlNotificationAuthType.None > thx. > I get following eerror > Error 3 The name 'SqlNotificationTransports' does not exist in the current > context > using System.Data.SqlClient; > > .. > ... > ... > SqlDependency depend = new SqlDependency(cmd, null, > > SqlNotificationAuthType.None, > > SqlNotificationEncryptionType.None, > > SqlNotificationTransports.Tcp, > > 10000); > > Thanks!!!.
Show quote "Pablo Castro [MS]" <pablo***@online.microsoft.com> wrote in message news:udRCROvRGHA.2536@tk2msftngp13.phx.gbl... > That enum (and a few other classes/enums) were present in pre-release > versions of ADO.NET 2.0 but were removed in the RTM version. > > Sushil posted a blog entry that describes the changes and how the new > version works: > http://blogs.msdn.com/dataaccess/archive/2005/09/27/474447.aspx > > Hope this helps. > > -- > Pablo Castro > Program Manager - ADO.NET Team > Microsoft Corp. > > This posting is provided "AS IS" with no warranties, and confers no > rights. > > > "skg" <s**@yahoo.com> wrote in message > news:OilVXDGRGHA.3972@TK2MSFTNGP10.phx.gbl... >>i am using vs.net 2005 but unable to find definition for >>SqlNotificationAuthType.None >> thx. >> I get following eerror >> Error 3 The name 'SqlNotificationTransports' does not exist in the >> current context >> using System.Data.SqlClient; >> >> .. >> ... >> ... >> SqlDependency depend = new SqlDependency(cmd, null, >> >> SqlNotificationAuthType.None, >> >> SqlNotificationEncryptionType.None, >> >> SqlNotificationTransports.Tcp, >> >> 10000); >> >> > > |
|||||||||||||||||||||||