Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a Service object in the collection by index number.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As Service
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Type: System.Int32
An Int32 value that specifies the position of the Service object in the ServiceCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Smo.Wmi.Service
A Service object value that represents a SQL Server service.