Condividi tramite


Proprietà Item (String)

Gets an OleDbProviderSettings object in the collection by name.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    name As String _
) As OleDbProviderSettings
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .OleDbProviderSettings
An OleDbProviderSettings object value that represents the SQL Server OLE DB provider settings.