-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: ArvindSingh
Message 5 in Discussion




Hi

this code snippet 
might help.

DTS.Package2 objPackage = new DTS.Package2Class();


objPackage.GlobalVariables.AddGlobalVariable("BatchNo", 
strBatchNumber);
Arvind Singh
Software Engineer, Asia Pacific Practice Unit,
Infosys Technologies 
Ltd.
Bangalore.
Tel: 91-80-8520261 x: 56059| Direct : 51176059 


  -----Original Message-----
From: BDOTNET 
  [mailto:[EMAIL PROTECTED]
Sent: Monday, March 15, 2004 2:38 
  PM
To: BDOTNET
Subject: Re: 
  DTS


  
    
      
      New Message on BDOTNET
    
      

  DTS


    
      
      
        Reply

        
          
            
            
               
              Recommend 
              Message 3 in 
                Discussion 
      
        
          
            
            
              From: SriSamp 
            
              

                If you are using the DTS object library to commuicate with 
                DTS packages, one simple way to pass parameters is to use the 
                GlobalVariables collection object. You can 
                define package level variables in DTS (called global variables) 
                and then refer to them from your code.
                 
                HTH,
                Srinivas Sampath
                MVP - SQL Server
                http://ww32.brinkster.com/srisamp
                 
View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to