Implementation of the ISdkServiceProvider interface.

Namespace: Ubitsoft.SqlEnlight.Sdk
Assembly: Ubitsoft.SqlEnlight.Sdk (in Ubitsoft.SqlEnlight.Sdk.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public class SdkServiceProvider : ISdkServiceProvider
Visual Basic
Public Class SdkServiceProvider _
	Implements ISdkServiceProvider
Visual C++
public ref class SdkServiceProvider : ISdkServiceProvider

Remarks

Examples

The following code example demonstrates how to create an instance of the SdkServiceProvider and use its Analysis Service.
CopyC#
// Create instance of the provider class.
Ubitsoft.SqlEnlight.Sdk.ISdkServiceProvider sdk = new SdkServiceProvider();
// To generate a XPathNavigator for the context database, just pass a new SqlConnection to the GetContext method.
XPathNavigator contextNavigator = sdk.Analysis.GetContext(new SqlConnection("Data Source=.;Integrated Security=true;Initial Catalog=AdventureWorks;"));

Inheritance Hierarchy

System..::..Object
  Ubitsoft.SqlEnlight.Sdk..::..SdkServiceProvider

See Also