ServerInstanceCollection.Item Özelliği (Int32)
Alır bir ServerInstance , nesne koleksiyon dizin numarasına göre
Ad Alanı: Microsoft.SqlServer.Management.Smo.Wmi
Derleme: Microsoft.SqlServer.SqlWmiManagement (Microsoft.SqlServer.SqlWmiManagement içinde.dll)
Sözdizimi
'Bildirim
Public ReadOnly Default Property Item ( _
index As Integer _
) As ServerInstance
Get
'Kullanım
Dim instance As ServerInstanceCollection
Dim index As Integer
Dim value As ServerInstance
value = instance(index)
public ServerInstance this[
int index
] { get; }
public:
property ServerInstance^ default[int index] {
ServerInstance^ get (int index);
}
member Item : ServerInstance
JScript, dizinli özelliklerin kullanılmasını destekler, ancak yenilerinin bildirilmesini desteklemez.
Parametreler
- index
Tür: System.Int32
Bir Int32 konumunu belirten değeri ServerInstance , nesne ServerInstanceCollection koleksiyon.
Özellik Değeri
Tür: Microsoft.SqlServer.Management.Smo.Wmi.ServerInstance
A ServerInstance örnek temsil eden nesne değeri SQL Server.