expression.ConnectionType As ConnectionTypeOption
expression.ConnectionType As ConnectionTypeOption
If you're writing a procedure that manipulates the current data connection settings, you may want to determine the current connection type with this property before making changes to the connection settings. After determining the current connection type, use the ConnectionSetting method to retrieve the value of a single connection keyword token, or the ConnectionSettings property to retrieve or set any or all of the connection keyword tokens.
If you're writing a procedure that manipulates the current data connection settings, you may want to determine the current connection type with this property before making changes to the connection settings. After determining the current connection type, use the ConnectionSetting method to retrieve the value of a single connection keyword token, or the ConnectionSettings property to retrieve or set any or all of the connection keyword tokens.
If a connection is already active and you try to set the connection type, a runtime error results. You should either trap the error using an error-handing routine, or use the IsConnected property to first determine if a connection is active.
The default value is "BEST-NETWORK".