UrnCollection Members

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

The following tables list the members exposed by the UrnCollection type.

Public Constructors

  名称 Description
UrnCollection Initializes a new instance of the UrnCollection class.

顶部

Public Properties

  名称 Description
ms220596.pubproperty(zh-cn,SQL.90).gif Count  
ms220596.pubproperty(zh-cn,SQL.90).gif Item Gets a Urn object in the collection by index number.

顶部

Public Methods

(see also Protected Methods )

  名称 Description
ms220596.pubmethod(zh-cn,SQL.90).gif Add Adds a Urn object to the end of the UrnCollection object.
ms220596.pubmethod(zh-cn,SQL.90).gif AddRange  
ms220596.pubmethod(zh-cn,SQL.90).gif Clear  
ms220596.pubmethod(zh-cn,SQL.90).gif Contains Determines whether an element is in the UrnCollection object.
ms220596.pubmethod(zh-cn,SQL.90).gif CopyTo Copies the collection objects to a one-dimensional array beginning at the index value specified.
ms220596.pubmethod(zh-cn,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220596.pubmethod(zh-cn,SQL.90).gif GetEnumerator  
ms220596.pubmethod(zh-cn,SQL.90).gif GetHashCode  (inherited from Object )
ms220596.pubmethod(zh-cn,SQL.90).gif GetType  (inherited from Object )
ms220596.pubmethod(zh-cn,SQL.90).gif IndexOf Returns the zero-based index of the first occurrence of a value in the UrnCollection object or in a portion of it.
ms220596.pubmethod(zh-cn,SQL.90).gif Insert Inserts an element into the UrnCollection at a specified position.
ms220596.pubmethod(zh-cn,SQL.90).gifms220596.static(zh-cn,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220596.pubmethod(zh-cn,SQL.90).gif Remove Removes the first occurrence of the specified object from the UrnCollection.
ms220596.pubmethod(zh-cn,SQL.90).gif RemoveAt  
ms220596.pubmethod(zh-cn,SQL.90).gif ToString  (inherited from Object )

顶部

Protected Methods

  名称 Description
ms220596.protmethod(zh-cn,SQL.90).gif Finalize  (inherited from Object )
ms220596.protmethod(zh-cn,SQL.90).gif MemberwiseClone  (inherited from Object )

顶部

Explicit Interface Implementations

  名称 Description
System.Collections.IEnumerable.GetEnumerator  
System.Collections.Generic.ICollection<Urn>.IsReadOnly  

顶部

请参阅

参考

UrnCollection Class
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Using Collections