Classe SynonymCollection

The SynonymCollection class represents a collection of Synonym objects that represent all the synonyms on the referenced database.

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

Syntaxe

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

Notes

A SynonymCollection object can be used to gain access to a set of synonyms. You can use the Item property to return a specific Synonym object.

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.