public static bool TestConnection(string sAccountName, string sAccountKey) { AzTableCollection azt = new AzTableCollection(sAccountName, sAccountKey); if (azt.PlsTableNames() == null) return false; return true; }
public static bool TestConnection(string sAccountName, string sAccountKey) { AzTableCollection azt = new AzTableCollection(sAccountName, sAccountKey); if (azt.PlsTableNames() == null) { return(false); } return(true); }
/* O P E N A C C O U N T */ /*---------------------------------------------------------------------------- %%Function: OpenAccount %%Qualified: AzLog.AzLogModel.OpenAccount %%Contact: rlittle Open the given Azure account and populate the list of tables that we know about ----------------------------------------------------------------------------*/ public void OpenAccount(string sAccountName, string sAccountKey) { m_aztc = new AzTableCollection(sAccountName, sAccountKey); m_plsTables = m_aztc.PlsTableNames(); }
/* O P E N A C C O U N T */ /*---------------------------------------------------------------------------- * %%Function: OpenAccount * %%Qualified: AzLog.AzLogModel.OpenAccount * %%Contact: rlittle * * Open the given Azure account and populate the list of tables that we * know about * ----------------------------------------------------------------------------*/ public void OpenAccount(string sAccountName, string sAccountKey) { m_aztc = new AzTableCollection(sAccountName, sAccountKey); m_plsTables = m_aztc.PlsTableNames(); }