Свойство Item (Int32)
Gets a Service object in the collection by index number.
Пространство имен: Microsoft.SqlServer.Management.Smo.Wmi
Сборка: Microsoft.SqlServer.SqlWmiManagement (в Microsoft.SqlServer.SqlWmiManagement.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
index As Integer _
) As Service
Get
'Применение
Dim instance As ServiceCollection
Dim index As Integer
Dim value As Service
value = instance(index)
public Service this[
int index
] { get; }
public:
property Service^ default[int index] {
Service^ get (int index);
}
member Item : Service
JScript поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- index
Тип System. . :: . .Int32
An Int32 value that specifies the position of the Service object in the ServiceCollection collection.
Значение свойства
Тип Microsoft.SqlServer.Management.Smo.Wmi. . :: . .Service
A Service object value that represents a SQL Server service.