Click or drag to resize

RemAdminSaveIntegrations Method

Paperwork .Net Kütüphanesi
Sisteme entegrasyonları kaydetmek için kullanılan metottur.

Namespace:  Paperwork.Connect
Assembly:  Paperwork.Connect (in Paperwork.Connect.dll) Version: 5.0.0.0
Syntax
C#
public a_GenericResult SaveIntegrations(
	rIntegrationList aResult
)

Parameters

aResult
Type: rIntegrationList
Kaydedilecek entegrasyonların bilgisi

Return Value

Type: a_GenericResult
a_GenericResult nesnesi içinde , ErrorCode=0 ise işlem başarılıdır. Aksi taktirde Result ve Message alanları kontrol ediniz.
Examples
C#
 
            public void SaveIntegrations()
            {
                rIntegrationList iList = new rIntegrationList();
                iList.Items = new rIntegration[] { new rIntegration()
                {
                    IntegrationName = "SDK Deneme",
                    IntegrationType = "SDK",
                    UserName        = string.Empty,
                    Password        = string.Empty,
                    Domain          = string.Empty,
                    Secure          = false,
                    EPoint1         = string.Empty,
                    EPoint2         = string.Empty,
                    EPoint3         = string.Empty,
                    EPoint4         = string.Empty
                }};

                a_GenericResult integration = p.rAdmin.SaveIntegrations(iList);
                if (integration.ErrorCode != 0)
                    throw new Exception(integration.Message);
                else
                    foreach (var item in iList.Items)
                    {
                        Console.WriteLine(" Integration Name: {0}\n Integration Type: {1}\n User Name: {2}\n Password: {3}\n Domain: {4}\n Secure: {5}\n EPoint1: {6}\n EPoint2: {7}\n EPoint3: {8}\n EPoint4: {9}", item.IntegrationName, item.IntegrationType, item.UserName, item.Password, item.Domain, item.Secure, item.EPoint1, item.EPoint2, item.EPoint3, item.EPoint4);
                    }
                Console.ReadLine();
            }
See Also