Retrieves a data source information property with the specified name.
Namespace: Microsoft.VisualStudio.Data.AdoDotNet
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public Overrides ReadOnly Default Property Item ( _
propertyName As String _
) As Object
'使用
Dim instance As AdoDotNetDataSourceInformation
Dim propertyName As String
Dim value As Object
value = instance(propertyName)
public override Object this[
string propertyName
] { get; }
public:
virtual property Object^ default[String^ propertyName] {
Object^ get (String^ propertyName) override;
}
JScript does not support indexed properties.
Parameters
propertyName
Type: System.StringThe name of the data source information property to retrieve.
Property Value
Type: System.Object
Returns the data source information property with the specified name.
Remarks
If the requested property is not contained in this data source information instance, it delegates to the ADO.NETDataSourceInformation data table.
Permissions
- 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.
See Also
Reference
AdoDotNetDataSourceInformation Class