DataConnection Class
Abstracts communication between one or more DataRecordset elements and a non-XML data source.
Inheritance Hierarchy

Namespace: Aspose.Diagram
Assembly: Aspose.Diagram (in Aspose.Diagram.dll) Version: (20.2)
public class DataConnection

The DataConnection type exposes the following members.

Public methodDataConnection
Public propertyAlwaysUseConnectionFile
The default value is false. See Remarks for more information.
Public propertyCommand
The command string used to query the data source.
Public propertyConnectionString
The connection string that defines the parameters necessary to connect to a data source.
Public propertyFileName
The name of the connection file. See Remarks for more information.
Public propertyID
The ID assigned by Visio for a given connection, unique within the document.
Public propertyTimeout
wait time in minutes while trying to establish a connection before terminating the attempt.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also