WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Common - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Common

    Common class for internal purpose

    Inheritance
    System.Object
    Common
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Client.Olap
    Assembly: Syncfusion.OlapClient.WPF.dll
    Syntax
    public class Common

    Constructors

    Common()

    Declaration
    public Common()

    Methods

    GetLocalCubeConnectionString(String)

    Gets the local cube connection string.

    Declaration
    public static string GetLocalCubeConnectionString(string cubeLocation)
    Parameters
    Type Name Description
    System.String cubeLocation

    The cube location.

    Returns
    Type Description
    System.String

    Returns the LocalCubeConnectionString

    GetParentWindow<T>(DependencyObject)

    Static method to get the parent item of the control.

    Declaration
    public static T GetParentWindow<T>(DependencyObject child)
        where T : DependencyObject
    Parameters
    Type Name Description
    System.Windows.DependencyObject child

    The dependency object.

    Returns
    Type Description
    T

    The generic type.

    Type Parameters
    Name Description
    T

    The generic class.

    GetServerConnectionString(String, String)

    Gets the server connection string.

    Declaration
    public static string GetServerConnectionString(string serverName, string databaseName)
    Parameters
    Type Name Description
    System.String serverName

    Name of the server.

    System.String databaseName

    Name of the database.

    Returns
    Type Description
    System.String

    returns the ServerConnectionString

    GetServerConnectionString(String, String, String, String)

    Gets the server connection string.

    Declaration
    public static string GetServerConnectionString(string serverName, string databaseName, string userName, string passWord)
    Parameters
    Type Name Description
    System.String serverName

    Name of the server.

    System.String databaseName

    Name of the database.

    System.String userName

    Name of the user.

    System.String passWord

    The pass word.

    Returns
    Type Description
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved