Darren
Mon Aug 08 21:36:42 CDT 2005
no Ilya, he's not talking about DNS hostname. He's referring to the
subscription
HOST_NAME that you can specify to allow publishers to identify which
subscriber
they are dealing with (and subsequently filter data that gets returned to
the suscriber in
the merge replication process).
you obtain this in a SQL CE or SQLMobile database after replication as
follows:
select HostName from __sysMergeSubscriptionProperties
--
Darren Shaffer
.NET Compact Framework MVP
Principal Architect
Connected Innovation
www.connectedinnovation.com
"Ilya Tumanov [MS]" <ilyatum@online.microsoft.com> wrote in message
news:42f7ee9c$1@news.microsoft.com...
> If you trying to get device name, you can use this:
>
> System.Net.Dns.GetHostName()
>
> Best regards,
>
> Ilya
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> *** Want to find answers instantly? Here's how... ***
>
> 1. Go to
>
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
> 2. Type your question in the text box near "Search this group" button.
> 3. Hit "Search this group" button.
> 4. Read answer(s).
>
> "pramod" <pramod@discussions.microsoft.com> wrote in message
> news:114ACB4C-276F-409A-8741-921B792A4EDD@microsoft.com...
>> Hi all,
>> Needed urgently. I am implementing pocket pc application with vb.net and
>> sql
>> server . I am able to synchronize . I am using dynamic filter for
>> filtering
>> data for that purpose i am using host_name() but i dont know how to get
>> that
>> value when we connect to pocket pc . My application is similar to field
>> sales
>> application where data is loaded into pocket pc according to region of
>> the
>> sales person . There is no login or password to enter into pocket pc . I
>> want
>> to use device id as primary key to identify the region.
>>
>> --
>> yours truly,
>> Pramod Renikindi,
>> creativesoft,
>> australia
>
>