Item 속성 (String)
Gets a Service object in the collection by name.
네임스페이스: Microsoft.SqlServer.Management.Smo.Wmi
어셈블리: Microsoft.SqlServer.SqlWmiManagement.dll의 Microsoft.SqlServer.SqlWmiManagement
구문
‘선언
Public ReadOnly Default Property Item ( _
name As String _
) As Service
Get
‘사용 방법
Dim instance As ServiceCollection
Dim name As String
Dim value As Service
value = instance(name)
public Service this[
string name
] { get; }
public:
property Service^ default[String^ name] {
Service^ get (String^ name);
}
member Item : Service
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.
매개 변수
- name
형식: System. . :: . .String
A String value that specifies the name of the Service object in the ServiceCollection collection.
속성 값
형식: Microsoft.SqlServer.Management.Smo.Wmi. . :: . .Service
A Service object value that represents a SQL Server service.