Search Results for

    Show / Hide Table of Contents
    View Source

    Class ConfigConnectionString

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Configuration
    Assembly: Umbraco.Core.dll
    Syntax
    public class ConfigConnectionString : object

    Constructors

    View Source

    ConfigConnectionString(String, String, String)

    Declaration
    public ConfigConnectionString(string name, string connectionString, string providerName = null)
    Parameters
    Type Name Description
    System.String name
    System.String connectionString
    System.String providerName

    Properties

    View Source

    ConnectionString

    Declaration
    public string ConnectionString { get; }
    Property Value
    Type Description
    System.String
    View Source

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String
    View Source

    ProviderName

    Declaration
    public string ProviderName { get; }
    Property Value
    Type Description
    System.String

    Methods

    View Source

    ParseProviderName(String)

    Parses the connection string to get the provider name.

    Declaration
    public static string ParseProviderName(string connectionString)
    Parameters
    Type Name Description
    System.String connectionString

    The connection string.

    Returns
    Type Description
    System.String

    The provider name or null is the connection string is empty.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ConfigConnectionString(String, String, String)
    • Properties
      • ConnectionString
      • Name
      • ProviderName
    • Methods
      • ParseProviderName(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX