SmoCollectionBase.GetEnumerator 메서드

Returns an IEnumerator interface that allows you to iterate through the objects in the collection.

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

구문

‘선언
Public Overridable Function GetEnumerator As IEnumerator
‘사용 방법
Dim instance As SmoCollectionBase 
Dim returnValue As IEnumerator 

returnValue = instance.GetEnumerator()
public virtual IEnumerator GetEnumerator()
public:
virtual IEnumerator^ GetEnumerator()
abstract GetEnumerator : unit -> IEnumerator  
override GetEnumerator : unit -> IEnumerator
public function GetEnumerator() : IEnumerator

반환 값

유형: System.Collections.IEnumerator
An IEnumerator system interface for the referenced collection object.

구현

IEnumerable.GetEnumerator()

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

컬렉션 사용

참고 항목

참조

SmoCollectionBase 클래스

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