ManagedInstanceCollection.Item 속성 (String)

Returns the managed instance with the specified name from the ManagedInstanceCollection.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
Public ReadOnly Default Property Item ( _
    name As String _
) As ManagedInstance 
    Get
‘사용 방법
Dim instance As ManagedInstanceCollection 
Dim name As String 
Dim value As ManagedInstance 

value = instance(name)
public ManagedInstance this[
    string name
] { get; }
public:
property ManagedInstance^ default[String^ name] {
    ManagedInstance^ get (String^ name);
}
member Item : ManagedInstance
Jscript는 인덱싱된 속성의 사용을 지원하지만 새로운 인덱싱된 속성 선언은 지원하지 않습니다.

매개 변수

  • name
    유형: System.String
    A String value that specifies the name of the managed instance to get from the collection.

속성 값

유형: Microsoft.SqlServer.Management.Utility.ManagedInstance
A ManagedInstance object with the specified name. If the object with the specified name is not part of the collection, this method will return nullnull 참조(Visual Basic에서는 Nothing).

참고 항목

참조

ManagedInstanceCollection 클래스

Item 오버로드

Microsoft.SqlServer.Management.Utility 네임스페이스