Class DataModelConnection
Namespace: Aspose.Cells.ExternalConnections
Assembly: Aspose.Cells.dll (25.2.0)
Specifies a data model connection
public class DataModelConnection : ExternalConnection
Inheritance
object ← ExternalConnection ← DataModelConnection
Inherited Members
ExternalConnection.Id, ExternalConnection.ClassType, ExternalConnection.PowerQueryFormula, ExternalConnection.SourceType, ExternalConnection.SSOId, ExternalConnection.SavePassword, ExternalConnection.SaveData, ExternalConnection.RefreshOnLoad, ExternalConnection.ReconnectionMethodType, ExternalConnection.OnlyUseConnectionFile, ExternalConnection.OdcFile, ExternalConnection.SourceFile, ExternalConnection.ConnectionFile, ExternalConnection.IsNew, ExternalConnection.Name, ExternalConnection.KeepAlive, ExternalConnection.RefreshInternal, ExternalConnection.ConnectionDescription, ExternalConnection.IsDeleted, ExternalConnection.CredentialsMethodType, ExternalConnection.BackgroundRefresh, ExternalConnection.Parameters, ExternalConnection.Command, ExternalConnection.CommandType, ExternalConnection.ConnectionString, ExternalConnection.SecondCommand, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
ClassType
Gets the type of this Aspose.Cells.ExternalConnections.ExternalConnection object.
public override ExternalConnectionClassType ClassType { get; }
Property Value
Command
The string containing the database command to pass to the data provider API that will interact with the external source in order to retrieve data
public override string Command { get; set; }
Property Value
CommandType
Returns Aspose.Cells.ExternalConnections.OLEDBCommandType type.
public override OLEDBCommandType CommandType { get; set; }
Property Value
ConnectionString
The connection information string is used to make contact with an OLE DB or ODBC data source.
public override string ConnectionString { get; set; }