BizTalk Server Tools - Receive Functions in C#

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Tools > March 2004 > Receive Functions in C#





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Receive Functions in C#
Curtis

2004-02-10, 11:37 am

I am trying to write a C# functions that will read the xml BTConfig.xml file and create or update the receive functions on our developement or production servers.

I am following the information from http://msdn.microsoft.com/library/e....asp?frame=true

I have the code exactly as listed under Creating a new Management object with the exception of the last line of code obj.Put(PutType.CreateOnly); and the first line of code ManagementObjectScope scope = .....

I get errors when I try using puttype.createonly, so I changed it to obj.Put(). I also changed ManagementObjectScope to ManagementScope

Are these typo or am I doing something wrong?

I can code this is vbs and get it to work. I am using version 1.0.5000.o of the .net framework. We are running BizTalk2002

Sent via http://www.biztalkug.com
everything about BizTalk Server

larry franks

2004-02-13, 2:38 am

What errors are you getting Curtis? Would it be possible to zip up your
project and post it?

Larry Franks

This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| From: Curtis <Curtis.Vasbinder@eams.com>
| Message-ID: <Dtyaz20J1P@biztalkug.com>
| Subject: Receive Functions in C#
| Date: Tue, 10 Feb 2004 08:00:27 -0500
| Newsgroups: microsoft.public.biztalk.tools
| NNTP-Posting-Host: ool-435531cd.dyn.optonline.net 67.85.49.205
| Lines: 1
| Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa07.phx.gbl microsoft.public.biztalk.tools:3376
| X-Tomcat-NG: microsoft.public.biztalk.tools
|
| I am trying to write a C# functions that will read the xml BTConfig.xml
file and create or update the receive functions on our developement or
production servers.
|
| I am following the information from
http://msdn.microsoft.com/library/e...iprogramming.as
p?frame=true
|
| I have the code exactly as listed under Creating a new Management object
with the exception of the last line of code obj.Put(PutType.CreateOnly);
and the first line of code ManagementObjectScope scope = .....
|
| I get errors when I try using puttype.createonly, so I changed it to
obj.Put(). I also changed ManagementObjectScope to ManagementScope
|
| Are these typo or am I doing something wrong?
|
| I can code this is vbs and get it to work. I am using version 1.0.5000.o
of the .net framework. We are running BizTalk2002
|
| Sent via http://www.biztalkug.com
| everything about BizTalk Server
|
|

gongchun

2004-03-29, 3:37 am

thank you
Curtis <Curtis.Vasbinder@eams.com> wrote in message
news:Dtyaz20J1P@biztalkug.com...
> I am trying to write a C# functions that will read the xml BTConfig.xml

file and create or update the receive functions on our developement or
production servers.
>
> I am following the information from

http://msdn.microsoft.com/library/e...iprogramming.as
p?frame=true
>
> I have the code exactly as listed under Creating a new Management object

with the exception of the last line of code obj.Put(PutType.CreateOnly); and
the first line of code ManagementObjectScope scope = .....
>
> I get errors when I try using puttype.createonly, so I changed it to

obj.Put(). I also changed ManagementObjectScope to ManagementScope
>
> Are these typo or am I doing something wrong?
>
> I can code this is vbs and get it to work. I am using version 1.0.5000.o

of the .net framework. We are running BizTalk2002
>
> Sent via http://www.biztalkug.com
> everything about BizTalk Server
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com