SqlNotificationAuthType not found

  • Thread starter Thread starter skg
  • Start date Start date
S

skg

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);
 
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.
 
Thanks!!!.
Pablo Castro said:
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.
 
Back
Top