DependencyCollection 클래스

The DependencyCollection class represents a collection of Dependency objects that are used to derive the node classes in SMO scripting operations.

상속 계층

System.Object
  Microsoft.SqlServer.Management.Smo.DependencyCollection

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

구문

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

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

생성자

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

맨 위로 이동

속성

  이름 설명
공용 속성 Count Gets the number of DependencyCollectionNode objects in the DependencyCollection object.
공용 속성 Item Gets a DependencyCollectionNode object in the collection by index number.

맨 위로 이동

메서드

  이름 설명
공용 메서드 Add Adds a Dependency object to the DependencyCollection object.
공용 메서드 AddRange Adds a range of nodes to the collection.
공용 메서드 Clear Removes all the DependencyCollectionNode objects from the referenced DependencyCollection object.
공용 메서드 Contains Determines whether the specified DependencyCollectionNode object is a member of the DependencyCollection object.
공용 메서드 ContainsUrn Determines whether the specified Urn object exists on the specified server.
공용 메서드 CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
공용 메서드 Equals (Object에서 상속됨)
보호된 메서드 Finalize (Object에서 상속됨)
공용 메서드 GetEnumerator Gets an enumerator that can iterate through the list of objects.
공용 메서드 GetHashCode (Object에서 상속됨)
공용 메서드 GetType (Object에서 상속됨)
공용 메서드 IndexOf Returns the index value of the DependencyCollectionNode object within the DependencyCollection object.
공용 메서드 Insert Inserts a DependencyCollectionNode object at the specified index position in the DependencyCollection object.
보호된 메서드 MemberwiseClone (Object에서 상속됨)
공용 메서드 Remove Removes a DependencyCollectionNode object from the DependencyCollection object.
공용 메서드 RemoveAt Removes a DependencyCollectionNode object from the DependencyCollection object and the specified index position.
공용 메서드 ToString (Object에서 상속됨)

맨 위로 이동

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현전용 메서드 IEnumerable.GetEnumerator Returns an IEnumerator interface that is required to iterate through a collection.
명시적 인터페이스 구현전용 속성 ICollection<DependencyCollectionNode>.IsReadOnly Determines if the dependency collection is read-only.

맨 위로 이동

주의

A DependencyCollection object can be used to gain access to a set of scripting dependencies. You can use the Item property to return a specific Dependency object.

Thread Safety

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

스크립팅

스레드 보안

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

참고 항목

참조

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