OleDbProviderSettingsCollection.Item Property (String)
Gets an OleDbProviderSettings object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As OleDbProviderSettings
Get
'Usage
Dim instance As OleDbProviderSettingsCollection
Dim name As String
Dim value As OleDbProviderSettings
value = instance(name)
public OleDbProviderSettings this[
string name
] { get; }
public:
property OleDbProviderSettings^ default[String^ name] {
OleDbProviderSettings^ get (String^ name);
}
member Item : OleDbProviderSettings
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- name
Type: System.String
A String value that specifies the name of the OleDbProviderSettings object in the OleDbProviderSettingsCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.OleDbProviderSettings
An OleDbProviderSettings object value that represents the SQL Server OLE DB provider settings.