Datapolis Process System SDK

Search:

Contents
:
IndexBookmarkPrint
Home > WBInterface > Methods > GetWBSiteInfo

GetWBSiteInfo

 

 

Function returns WBSiteInfo type, if you want to know all members of this class check Class Reference.

try
{
    WBInterfaceWebService.WBInterfaceSoapClient client = CreateSoapClient();
   
    WBSiteInfo wbSiteInfo = client.GetWBSiteInfo();
   
    if (wbSiteInfo != null)
    {
        //some code
    }
    else
    {
        MessageBox.Show(this, "Site cannot be opened. Possibly you don't have appropriate permissions.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
    }
}
catch (Exception exc)
{
    MessageBox.Show(this, exc.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}