Classe LinkedServerCollection

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public NotInheritable Class LinkedServerCollection _
    Inherits SimpleObjectCollectionBase
'Utilisation
Dim instance As LinkedServerCollection
public sealed class LinkedServerCollection : SimpleObjectCollectionBase
public ref class LinkedServerCollection sealed : public SimpleObjectCollectionBase
[<SealedAttribute>]
type LinkedServerCollection =  
    class
        inherit SimpleObjectCollectionBase
    end
public final class LinkedServerCollection extends SimpleObjectCollectionBase

Notes

A LinkedServerCollection object can be used to gain access to a set of linked servers. You can use the Item property to return a specific LinkedServer 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 sûrs.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.