Options
All
  • Public
  • Public/Protected
  • All
Menu
docs-hide-from-nav

Hierarchy

  • ServiceHelper

Index

Methods

Static extractConnectionStringValue

  • extractConnectionStringValue(params: string, key: string): string
  • Retrieves the value of the supplied key from the supplied connection string parameter. The connection string is assumed to be in key=value format, with key-value pairs separated by semicolons

    Parameters

    • params: string

      The full connection string containing the key the caller is looking to find the value for.

    • key: string

      The key for the value being searched.

    Returns string

    the string value corresponding to the supplied key; or an empty string if no such key is found in the supplied params.