Aracılığıyla paylaş


LinkedServerCollection Members

The LinkedServerCollection class represents a collection of LinkedServer objects that represent all the linked servers registered on the instance of SQL Server.

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

Protected Fields

  Name Description
ms219781.protfield(tr-tr,SQL.100).gif initialized  This value supports the SMO infrastructure and is not intended to be used directly from your code. (inherited from AbstractCollectionBase)

Top

Public Properties

  Name Description
ms219781.pubproperty(tr-tr,SQL.100).gif Count  Gets the number of objects in the referenced collection. (inherited from SmoCollectionBase)
ms219781.pubproperty(tr-tr,SQL.100).gif IsSynchronized  Gets the Boolean property value that specifies whether access to the collection is synchronized and therefore thread-safe. (inherited from SmoCollectionBase)
ms219781.pubproperty(tr-tr,SQL.100).gif Item Overloaded. Gets a LinkedServer object in the LinkedServerCollection collection by name or by index number.
ms219781.pubproperty(tr-tr,SQL.100).gif Parent Gets the Server object that is the parent of the LinkedServerCollection object.
ms219781.pubproperty(tr-tr,SQL.100).gif SyncRoot  Gets an object that can be used to synchronize access to the collection. (inherited from SmoCollectionBase)

Top

Public Methods

(see also Protected Methods )

  Name Description
ms219781.pubmethod(tr-tr,SQL.100).gif Add Adds the specified object to the referenced collection.
ms219781.pubmethod(tr-tr,SQL.100).gif Contains  (inherited from SimpleObjectCollectionBase )
ms219781.pubmethod(tr-tr,SQL.100).gif CopyTo Copies the collection objects to a one-dimensional array starting at the specified index value.
ms219781.pubmethod(tr-tr,SQL.100).gif Equals  Overloaded. (inherited from Object )
ms219781.pubmethod(tr-tr,SQL.100).gif GetEnumerator  Returns an IEnumerator interface that allows you to iterate through the objects in the collection. (inherited from SmoCollectionBase)
ms219781.pubmethod(tr-tr,SQL.100).gif GetHashCode  (inherited from Object )
ms219781.pubmethod(tr-tr,SQL.100).gif GetType  (inherited from Object )
ms219781.pubmethod(tr-tr,SQL.100).gif ItemById Extracts a member from the LinkedServerCollection collection by using a system-defined, unique identifier.
ms219781.pubmethod(tr-tr,SQL.100).gifms219781.static(tr-tr,SQL.100).gif ReferenceEquals  (inherited from Object )
ms219781.pubmethod(tr-tr,SQL.100).gif Refresh  Overloaded. Refreshes the referenced collection. (inherited from SmoCollectionBase)
ms219781.pubmethod(tr-tr,SQL.100).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms219781.protmethod(tr-tr,SQL.100).gif AddExisting  (inherited from AbstractCollectionBase )
ms219781.protmethod(tr-tr,SQL.100).gif AddImpl  (inherited from SortedListCollectionBase )
ms219781.protmethod(tr-tr,SQL.100).gif Finalize  (inherited from Object )
ms219781.protmethod(tr-tr,SQL.100).gif GetCollectionElementType  Gets the Collection Element Type. (inherited from SmoCollectionBase)
ms219781.protmethod(tr-tr,SQL.100).gif GetItemById  Overloaded. (inherited from SmoCollectionBase )
ms219781.protmethod(tr-tr,SQL.100).gif GetObjectByIndex  (inherited from SmoCollectionBase )
ms219781.protmethod(tr-tr,SQL.100).gif ImplAddExisting  (inherited from SortedListCollectionBase )
ms219781.protmethod(tr-tr,SQL.100).gif InitializeChildCollection  Overloaded. Initializes the child collections of the referenced collection. (inherited from SmoCollectionBase)
ms219781.protmethod(tr-tr,SQL.100).gif InitInnerCollection  Initializes the collection. (inherited from SimpleObjectCollectionBase)
ms219781.protmethod(tr-tr,SQL.100).gif MemberwiseClone  (inherited from Object )
ms219781.protmethod(tr-tr,SQL.100).gif ValidateParentObject  (inherited from SmoCollectionBase )

Top

Explicit Interface Implementations

  Name Description
System.Collections.ICollection.CopyTo  (inherited from SmoCollectionBase )

Top