Compartilhar via


Método Add

Add a synonym to the collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    synonym As Synonym _
)
'Uso
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
)