AdoDotNetDataSourceInformation.RetrieveValue Method
Retrieves a value for a specified data source information property.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Protected Overrides Function RetrieveValue ( _
propertyName As String _
) As Object
protected override Object RetrieveValue(
string propertyName
)
protected:
virtual Object^ RetrieveValue(
String^ propertyName
) override
abstract RetrieveValue :
propertyName:string -> Object
override RetrieveValue :
propertyName:string -> Object
protected override function RetrieveValue(
propertyName : String
) : Object
Parameters
propertyName
Type: System.StringThe name of a data source information property.
Return Value
Type: System.Object
Returns the value of the data source information property, or returns nulla null reference (Nothing in Visual Basic) if the property is not supported.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The propertyName parameter is null. |
Remarks
The base class keeps a cache of values that have been retrieved, and as such only calls this method once per data source information property. Thus, the implementation of this method need not cache values itself.
The base implementation of this method simply returns nulla null reference (Nothing in Visual Basic).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.