DatabaseReplicaStateCollection.Item 속성 (Int32)

Gets a DatabaseReplicaState 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 DatabaseReplicaState 
    Get
‘사용 방법
Dim instance As DatabaseReplicaStateCollection 
Dim index As Integer 
Dim value As DatabaseReplicaState 

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

매개 변수

  • index
    유형: System.Int32
    The position of the object in the collection.

속성 값

유형: Microsoft.SqlServer.Management.Smo.DatabaseReplicaState
A specified object in the collection.

참고 항목

참조

DatabaseReplicaStateCollection 클래스

Item 오버로드

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