Quick References
      ADO
      ASP
      CSS2
      HTML
      JavaScript
      Jet SQL
      VBScript
      WML
      WMLScript
      WSH
      XHTML
      XML DOM
      XSLT

Features
      Knowledge Base
      Tutorials

Partners
     ZVON.ORG
     XML
     Planet Source Code
     VisualBuilder
     Web Design
     Your HTML Source
     XML/XSLT Forums
     ASPAlliance
     Scripts
     
     Programmers Heaven
     Tek-Tips Forums
     Developer Fusion
     Code Project











PROPERTY: Property::Attributes

long = propertyobject.Attributes
 
The Attributes property returns a long value that is the sum of one or more of the ParameterAttributesEnum constants that indicate the characteristics of a Property object.
 
Not all providers support this property.
 
PropertyAttributesEnum Constants
 
Constant Value Description
adPropNotSupported 0 Not supported by provider
adPropRequired 1 Property must be specified before data source is initialized
adPropOptional 2 Property does not have to be specified before data source is initialized
adPropRead 512 User can read property
adPropWrite 1024 User can set property

 
Code (VBScript):
If (objConnection.Properties(strName).Attributes = adPropNotSupported) Then
   Response.Write "WARNING: Not supported by provider"
End If

 


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