Click or drag to resize

WebQueryConnection Class

Represents a connection to a web-based query service.
Inheritance Hierarchy
System Object
Spire.Xls ExternalConnection
Spire.Xls WebQueryConnection

Namespace: Spire.Xls
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class WebQueryConnection : ExternalConnection

The WebQueryConnection type exposes the following members.

Constructors
Name Description
Public method WebQueryConnection
Initializes a new instance of the WebQueryConnection class.
Top
Properties
Name Description
Public property BackgroundRefresh
Gets or sets a value indicating whether background refresh is enabled. When the value is set, it also marks the connection converter as changed.
(Overrides ExternalConnection BackgroundRefresh .)
Public property ConnType
Gets the connection data source type.
(Overrides ExternalConnection ConnType .)
Public property Consecutive
Gets or sets a value indicating whether the consecutive property has been changed.
Public property ID
Gets the ID of the connection.
(Overrides ExternalConnection ID .)
Public property KeepAlive
Gets or sets the value indicating whether the connection should keep alive.
(Overrides ExternalConnection KeepAlive .)
Public property Name
Gets or sets the name of the connection. When setting the name, it also marks the connection as changed.
(Overrides ExternalConnection Name .)
Public property OdcFile
Gets or sets the ODC file associated with the connection converter. When the value is set, the ischanged property is also set to true to indicate that the connection converter has been modified.
(Overrides ExternalConnection OdcFile .)
Public property OnlyUseConnectionFile
Gets or sets a value indicating whether to use a connection file only. When the value is set, it also sets the ischanged property to true.
(Overrides ExternalConnection OnlyUseConnectionFile .)
Public property ParsePre
Gets or sets a value indicating whether to parse preformatted text. When the value is set, it also marks the connection converter as changed.
Public property RefreshedVersion
Gets or sets the refreshed version of the connection conversion. When setting the value, it also marks the connection conversion as changed.
(Overrides ExternalConnection RefreshedVersion .)
Public property SaveData
Gets or sets the save data flag and marks the connection as changed.
(Overrides ExternalConnection SaveData .)
Public property SourceData
Gets or sets the source data for the connection conversion. Setting this property updates the internal state of the connection conversion object to indicate that changes have been made.
Public property Url
Gets or sets the URL for the connection. When setting the value, it also marks the connection as changed.
Public property Xl2000
Gets or sets the value indicating whether the web_xl2000 property of the connConvert object is set to true or false. Setting this property to true or false will also set the ischanged property of the connConvert object to true.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also