Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

UrnCollection Class

 

Applies To: SQL Server 2016 Preview

Represents a collection of T:Microsoft.SqlServer.Management.Smo.Urn objects that represent Uniform Resource Name (URN) addresses.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

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

<DefaultMemberAttribute("Item")>
Public Class UrnCollection
	Implements IList(Of Urn), ICollection(Of Urn), IEnumerable(Of Urn),
	IEnumerable

NameDescription
System_CAPS_pubmethodUrnCollection()

Initializes a new instance of the UrnCollection class.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of Urns in a Urn Collection.

System_CAPS_pubpropertyItem(Int32)

Gets a T:Microsoft.SqlServer.Management.Smo.Urn object in the collection by index number.

NameDescription
System_CAPS_pubmethodAdd(Urn)

Adds a URN to a URN collection.

System_CAPS_pubmethodAddRange(IEnumerable(Of Urn))

Adds the elements of the specified collection to the end of the list.

System_CAPS_pubmethodClear()

Removes all elements from the collection.

System_CAPS_pubmethodContains(Urn)

Specifies whether a URN collection contains a URN.

System_CAPS_pubmethodCopyTo(Urn(), Int32)

Copies members of the collection to an array, starting at the specified index of the array.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetEnumerator()

Returns a generic IEnumerator interface.

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIndexOf(Urn)

Gets the index of a specified URN from a collection.

System_CAPS_pubmethodInsert(Int32, Urn)

Inserts a URN at a specified index of a URN collection.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(Urn)

Removes a specified URN from a collection.

System_CAPS_pubmethodRemoveAt(Int32)

Removes a URN from a collection based on the index of the URN.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

Gets a non-generic enumerator.

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.

Return to top

Community Additions

Show:
© 2015 Microsoft