ADO » Property » Value

Syntax:
variant = propertyobject.Value
propertyobject.Value = variant

Sets or returns a variant that is the value of the Property object.

The Value property sets or returns a variant that is the current value of the Property object.
 
Properties can be set to read or write by using the Attributes property. You will not be able to set the Value for properties that are read-only.

Examples

Code:
If (objConnection.Properties(strName).Attributes = adPropWrite) Then
   objConnection.Properties(strName).Value = intCount
Else
   Response.Write "WARNING: Cannot set value for " & strName & VBCRLF
End If

See Also: