PROPERTY: Property::Value

variant = propertyobject.Value
propertyobject.Value = variant
 
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.
 
Code (VBScript):
If (objConnection.Properties(strName).Attributes = adPropWrite) Then
   objConnection.Properties(strName).Value = intCount
Else
   Response.Write "WARNING: Cannot set value for " & strName & VBCRLF
End If

Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information