Visual Basic: RDO Data Control
Environment Property (Remote Data)
See Also Example Applies To
Returns a reference to a RemoteData control's underlying rdoEnvironment object.
Syntax
object**.Environment**
Setenvironment**=object.Environment**
The Environment property syntax has these parts:
Part | Description |
environment | An object expression that evaluates to a valid rdoEnvironment object. |
object | An object expression that evaluates to an object in the Applies To list. |
Remarks
When a RemoteData control is initialized, RemoteData uses the default rdoEnvironments(0) the Environment property is initially set to this object.
If you assign another rdoResultset to the RemoteData control's Resultset property, the Environment property is set to the rdoEnvironment object used to create the result set.
rdoEnvironment objects have properties and methods you can use to manage data. For example, you can use any method of an rdoEnvironment object, such as OpenConnection, BeginTrans, CommitTrans, or RollbackTrans, with the Environment property.