SynonymCollection.Add Method

Add a synonym to the collection.

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

Syntax

'Declaration
Public Sub Add ( _
    synonym As Synonym _
)
'Usage
Dim instance As SynonymCollection
Dim synonym As Synonym

instance.Add(synonym)
public void Add(
    Synonym synonym
)
public:
void Add(
    Synonym^ synonym
)
member Add : 
        synonym:Synonym -> unit 
public function Add(
    synonym : Synonym
)