Class ExternalConnection
Represents the external connection
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.XlsIO.Implementation
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class ExternalConnection : CommonObject, IDisposable, IConnection, IParentApplication
Constructors
ExternalConnection(IApplication, Object)
External connection
Declaration
public ExternalConnection(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | |
| System.Object | parent |
Properties
BackgroundQuery
The Query is asynchronus with DB
Declaration
public bool BackgroundQuery { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ConncetionId
Represent the connection id
Declaration
public uint ConncetionId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
ConnectionFile
Represent the connection file
Declaration
public string ConnectionFile { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DataBaseType
Represent the Database Type
Declaration
public ExcelConnectionsType DataBaseType { get; set; }
Property Value
| Type | Description |
|---|---|
| ExcelConnectionsType |
DBConnectionString
Database connection string
Declaration
public string DBConnectionString { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Deleted
Represent the connection deleted or not
Declaration
public bool Deleted { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Description
Represent the Description
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ExtLstProperty
Ext_Lst Stream
Declaration
public Stream ExtLstProperty { get; set; }
Property Value
| Type | Description |
|---|---|
| System.IO.Stream |
IsExist
It's define the connection is exist for query table or not
Declaration
public bool IsExist { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Name
Represent the connection name
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ODBCConnection
Represents the odbc connection
Declaration
public ODBCConnection ODBCConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| ODBCConnection |
OlapProperty
Olap Stream
Declaration
public Stream OlapProperty { get; set; }
Property Value
| Type | Description |
|---|---|
| System.IO.Stream |
OLEDBConnection
Represent the Oledb Connection
Declaration
public OLEDBConnection OLEDBConnection { get; set; }
Property Value
| Type | Description |
|---|---|
| OLEDBConnection |
password
Password of External connection
Declaration
public string password { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Range
Range
Declaration
public IRange Range { get; set; }
Property Value
| Type | Description |
|---|---|
| IRange |
RefershedVersion
Represent the refershed verion
Declaration
public uint RefershedVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| System.UInt32 |
SourceFile
Represent the source file
Declaration
public string SourceFile { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Delete()
Delete the connection
Declaration
public void Delete()
Disposeall()
Dispose the connection
Declaration
public void Disposeall()
Finalize()
External connection
Declaration
protected void Finalize()
RaiseEvent(Object, ConnectionPassword)
Event
Declaration
public void RaiseEvent(object sender, ConnectionPassword args)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | sender | |
| ConnectionPassword | args |
Events
OnConnectionPassword
connection password events
Declaration
public event ConnectionPasswordEventHandler OnConnectionPassword
Event Type
| Type | Description |
|---|---|
| ConnectionPasswordEventHandler |
Implements
System.IDisposable