ServerInstanceCollection.Item 속성 (String)

Gets a ServerInstance object in the collection by name.

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

구문

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

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

매개 변수

속성 값

유형: Microsoft.SqlServer.Management.Smo.Wmi.ServerInstance
A ServerInstance object value that represents an instance of SQL Server.

참고 항목

참조

ServerInstanceCollection 클래스

Item 오버로드

Microsoft.SqlServer.Management.Smo.Wmi 네임스페이스