Share via


ServerRoleCollection.Item 속성 (Int32)

Gets a ServerRole object in the collection by index number.

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

구문

‘선언
Public ReadOnly Default Property Item ( _
    index As Integer _
) As ServerRole 
    Get
‘사용 방법
Dim instance As ServerRoleCollection 
Dim index As Integer 
Dim value As ServerRole 

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

매개 변수

속성 값

유형: Microsoft.SqlServer.Management.Smo.ServerRole
A ServerRole object value that represents the server role.

컬렉션 사용

참고 항목

참조

ServerRoleCollection 클래스

Item 오버로드

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