public class DataConnection
Constructor Summary |
---|
DataConnection()
Constructor. |
Property Getters/Setters Summary | ||
---|---|---|
int | getAlwaysUseConnectionFile() | |
void | setAlwaysUseConnectionFile(intvalue) | |
The default value is false. See Remarks for more information. The value of the property is BOOL integer constant. | ||
java.lang.String | getCommand() | |
void | setCommand(java.lang.Stringvalue) | |
The command string used to query the data source. | ||
java.lang.String | getConnectionString() | |
void | setConnectionString(java.lang.Stringvalue) | |
The connection string that defines the parameters necessary to connect to a data source. | ||
java.lang.String | getFileName() | |
void | setFileName(java.lang.Stringvalue) | |
The name of the connection file. See Remarks for more information. | ||
long | getID() | |
void | setID(longvalue) | |
The ID assigned by Visio for a given connection, unique within the document. | ||
long | getTimeout() | |
void | setTimeout(longvalue) | |
wait time in minutes while trying to establish a connection before terminating the attempt. |
public long getID() / public void setID(long value)
public java.lang.String getFileName() / public void setFileName(java.lang.String value)
public java.lang.String getConnectionString() / public void setConnectionString(java.lang.String value)
public java.lang.String getCommand() / public void setCommand(java.lang.String value)
public long getTimeout() / public void setTimeout(long value)
public int getAlwaysUseConnectionFile() / public void setAlwaysUseConnectionFile(int value)