Partager via


Méthode Add

Add a synonym to the collection.

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

Syntaxe

'Déclaration
Public Sub Add ( _
    synonym As Synonym _
)
'Utilisation
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
)