function TableService(storageAccountOrConnectionString, storageAccessKey, host, sasToken, endpointSuffix) {
  var storageServiceSettings = StorageServiceClient.getStorageSettings(storageAccountOrConnectionString, storageAccessKey, host, sasToken, endpointSuffix);

  TableService['super_'].call(this,
    storageServiceSettings._name,
    storageServiceSettings._key,
    storageServiceSettings._tableEndpoint,
    storageServiceSettings._usePathStyleUri,
    storageServiceSettings._sasToken);

  if (this.anonymous) {
    throw new Error(SR.ANONYMOUS_ACCESS_BLOBSERVICE_ONLY);
  }

  if(this.storageAccount && this.storageAccessKey) {
    this.storageCredentials = new SharedKeyTable(this.storageAccount, this.storageAccessKey, this.usePathStyleUri);
  }

  this.defaultPayloadFormat = TableUtilities.PayloadFormat.MINIMAL_METADATA;
}
Creates a new TableService object.
If no connection string or storageaccount and storageaccesskey are provided,
the AZURE_STORAGE_CONNECTION_STRING or AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_ACCESS_KEY environment variables will be used.
@class
The TableService object allows you to peform management operations with the Microsoft Azure Table Service.
The Table Service stores data in rows of key-value pairs. A table is composed of multiple rows, and each row
contains key-value pairs. There is no schema, so each row in a table may store a different set of keys.

For more information on the Table Service, as well as task focused information on using it from a Node.js application, see
[How to Use the Table Service from Node.js](http://azure.microsoft.com/en-us/documentation/articles/storage-nodejs-how-to-use-table-storage/).
The following defaults can be set on the Table service.
defaultTimeoutIntervalInMs                          The default timeout interval, in milliseconds, to use for request made via the Table service.
defaultClientRequestTimeoutInMs                     The default timeout of client requests, in milliseconds, to use for the request made via the Table service.
defaultMaximumExecutionTimeInMs                     The default maximum execution time across all potential retries, for requests made via the Table service.
defaultLocationMode                                 The default location mode for requests made via the Table service.
defaultPayloadFormat                                The default payload format for requests made via the Table service.
useNagleAlgorithm                                   Determines whether the Nagle algorithm is used for requests made via the Table service.; true to use the  
                                                    Nagle algorithm; otherwise, false. The default value is false.
enableGlobalHttpAgent                               Determines whether global HTTP(s) agent is enabled; true to use Global HTTP(s) agent; otherwise, false to use
                                                    http(s).Agent({keepAlive:true}).
@constructor
@extends {StorageServiceClient}

@param {string} [storageAccountOrConnectionString]  The storage account or the connection string.
@param {string} [storageAccessKey]                  The storage access key.
@param {string|object} [host]                       The host address. To define primary only, pass a string. 
                                                    Otherwise 'host.primaryHost' defines the primary host and 'host.secondaryHost' defines the secondary host.
@param {string} [sasToken]                          The Shared Access Signature token.
@param {string} [endpointSuffix]                    The endpoint suffix.