UrnCollection 클래스

The UrnCollection class represents a collection of Urn objects that represent Uniform Resource Name (URN) addresses.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.UrnCollection

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

구문

‘선언
Public Class UrnCollection _
    Implements IList(Of Urn), ICollection(Of Urn),  _
    IEnumerable(Of Urn), IEnumerable
‘사용 방법
Dim instance As UrnCollection
public class UrnCollection : IList<Urn>, 
    ICollection<Urn>, IEnumerable<Urn>, IEnumerable
public ref class UrnCollection : IList<Urn^>, 
    ICollection<Urn^>, IEnumerable<Urn^>, IEnumerable
type UrnCollection =  
    class 
        interface IList<Urn>
        interface ICollection<Urn>
        interface IEnumerable<Urn>
        interface IEnumerable 
    end
public class UrnCollection implements IList<Urn>, ICollection<Urn>, IEnumerable<Urn>, IEnumerable

UrnCollection 유형에서 다음 멤버를 표시합니다.

생성자

  이름 설명
공용 메서드 UrnCollection Initializes a new instance of the UrnCollection class.

맨 위로 이동

속성

  이름 설명
공용 속성 Count Gets the number of Urns in a Urn Collection.
공용 속성 Item Gets a Urn object in the collection by index number.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add Adds a URN to a URN collection.
공용 메서드 AddRange Adds the elements of the specified collection to the end of the list.
공용 메서드 Clear Removes all elements from the collection.
공용 메서드 Contains Specifies whether a URN collection contains a URN.
공용 메서드 CopyTo Copies members of the collection to an array, starting at the specified index of the array.
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetEnumerator Returns a generic IEnumerator interface.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 IndexOf Gets the index of a specified URN from a collection.
공용 메서드 Insert Inserts a URN at a specified index of a URN collection.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 Remove Removes a specified URN from a collection.
공용 메서드 RemoveAt Removes a URN from a collection based on the index of the URN.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 IEnumerable.GetEnumerator Gets a non-generic enumerator.
명시적 인터페이스 구현전용 속성 ICollection<Urn>.IsReadOnly Gets a value indicating whether the ICollection is read-only.

맨 위로 이동

주의

A UrnCollection object can be used to gain access to a set of URN addresses. You can use the Item property to return a specific Urn object.

Thread Safety

이 유형의 모든 public static(Microsoft Visual Basic의 경우 공유) 멤버는 다중 스레드 작업을 수행하기에 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

스레드 보안

이 유형의 모든 공용 static(Visual Basic에서는 Shared) 멤버는 스레드로부터 안전합니다. 인스턴스 멤버는 스레드로부터의 안전성이 보장되지 않습니다.

참고 항목

참조

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

관련 자료

컬렉션 사용