Udostępnij za pośrednictwem


Właściwość OleDbProviderSettingsCollection.Item (Int32)

Pobiera OleDbProviderSettings obiektu kolekcja według numeru indeksu.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public ReadOnly Default Property Item ( _
    index As Integer _
) As OleDbProviderSettings
    Get
'Użycie
Dim instance As OleDbProviderSettingsCollection
Dim index As Integer
Dim value As OleDbProviderSettings

value = instance(index)
public OleDbProviderSettings this[
    int index
] { get; }
public:
property OleDbProviderSettings^ default[int index] {
    OleDbProviderSettings^ get (int index);
}
member Item : OleDbProviderSettings
Język JScript obsługuje używanie indeksowanych właściwości, ale nie obsługuje deklarowania nowych.

Parametry

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Smo.OleDbProviderSettings
OleDbProviderSettings Wartość obiektu, który reprezentuje SQL Server Ustawienia dostawca OLE DB.