Home All Groups Group Topic Archive Search About

SqlNotificationAuthType not found

Author
10 Mar 2006 4:36 PM
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);

Author
13 Mar 2006 11:12 PM
Pablo Castro [MS]
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.


Show quote
"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);
>
>
Author
15 Mar 2006 7:49 PM
skg
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);
>>
>>
>
>

AddThis Social Bookmark Button