Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace SubiektGT
- {
- class Program
- {
- [STAThread]
- static void Main(string[] args)
- {
- var gt = new InsERT.GT
- {
- Produkt = InsERT.ProduktEnum.gtaProduktSubiekt,
- Serwer = "(local)\\InsERTGT",
- Baza = "Test",
- Autentykacja = InsERT.AutentykacjaEnum.gtaAutentykacjaMieszana,
- Uzytkownik = "sa",
- UzytkownikHaslo = "vega",
- Operator = "Szef",
- OperatorHaslo = ""
- };
- var sgt = (InsERT.Subiekt)gt.Uruchom((int)InsERT.UruchomDopasujEnum.gtaUruchomDopasuj, (int)InsERT.UruchomEnum.gtaUruchom);
- var towary = sgt.Towary; //w tej linii dostaje error System.Runtime.InteropServices.COMException: 'Brak ważnej licencji Sfery i/lub stowarzyszonego produktu w podmiocie.'
- Console.ReadLine();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement