UrnCollection Class
Represents a collection of T:Microsoft.SqlServer.Management.Smo.Urn objects that represent Uniform Resource Name (URN) addresses.
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
| Name | Description | |
|---|---|---|
![]() | UrnCollection() | Initializes a new instance of the UrnCollection class. |
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of Urns in a Urn Collection. |
![]() | Item[Int32] | Gets a T:Microsoft.SqlServer.Management.Smo.Urn object in the collection by index number. |
| Name | Description | |
|---|---|---|
![]() | Add(Urn^) | Adds a URN to a URN collection. |
![]() | AddRange(IEnumerable<Urn^>^) | Adds the elements of the specified collection to the end of the list. |
![]() | Clear() | Removes all elements from the collection. |
![]() | Contains(Urn^) | Specifies whether a URN collection contains a URN. |
![]() | CopyTo(array<Urn^>^, Int32) | Copies members of the collection to an array, starting at the specified index of the array. |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetEnumerator() | Returns a generic IEnumerator interface. |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IndexOf(Urn^) | Gets the index of a specified URN from a collection. |
![]() | Insert(Int32, Urn^) | Inserts a URN at a specified index of a URN collection. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | Remove(Urn^) | Removes a specified URN from a collection. |
![]() | RemoveAt(Int32) | Removes a URN from a collection based on the index of the URN. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | IEnumerable::GetEnumerator() | Gets a non-generic enumerator. |
![]() ![]() | ICollection<Urn^>::IsReadOnly | Gets a value indicating whether the collection 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 T:Microsoft.SqlServer.Management.Smo.Urn object.
Any public static (Shared in Microsoft Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





