Export (0) Print
Expand All

SynonymCollection Class

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public sealed class SynonymCollection : SchemaCollectionBase

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft