Class Common
Common class for internal purpose
Inheritance
System.Object
Common
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|
System.String |