Classe UrnCollection
The UrnCollection class represents a collection of Urn objects that represent Uniform Resource Name (URN) addresses.
Hiérarchie d'héritage
System.Object
Microsoft.SqlServer.Management.Smo.UrnCollection
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Class UrnCollection _
Implements IList(Of Urn), ICollection(Of Urn), _
IEnumerable(Of Urn), IEnumerable
'Utilisation
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
Le type UrnCollection expose les membres suivants.
Constructeurs
Nom | Description | |
---|---|---|
UrnCollection | Initializes a new instance of the UrnCollection class. |
Haut de la page
Propriétés
Nom | Description | |
---|---|---|
Count | Gets the number of Urns in a Urn Collection. | |
Item | Gets a Urn object in the collection by index number. |
Haut de la page
Méthodes
Nom | Description | |
---|---|---|
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 | (hérité de Object.) | |
Finalize | (hérité de Object.) | |
GetEnumerator | Returns a generic IEnumerator interface. | |
GetHashCode | (hérité de Object.) | |
GetType | (hérité de 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 | (hérité de Object.) | |
Remove | Removes a specified URN from a collection. | |
RemoveAt | Removes a URN from a collection based on the index of the URN. | |
ToString | (hérité de Object.) |
Haut de la page
Implémentations d'interfaces explicites
Nom | Description | |
---|---|---|
IEnumerable.GetEnumerator | Gets a non-generic enumerator. | |
ICollection<Urn>.IsReadOnly | Gets a value indicating whether the ICollection is read-only. |
Haut de la page
Notes
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
Tout membre statique public (Partagé dans Microsoft Visual Basic) de ce type est sûr dans le cadre des opérations à plusieurs threads. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Sécurité des threads
Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo