Compartilhar via


Método Add

Add the specified application role to the collection.

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

Sintaxe

'Declaração
Public Sub Add ( _
    applicationRole As ApplicationRole _
)
'Uso
Dim instance As ApplicationRoleCollection
Dim applicationRole As ApplicationRole

instance.Add(applicationRole)
public void Add(
    ApplicationRole applicationRole
)
public:
void Add(
    ApplicationRole^ applicationRole
)
member Add : 
        applicationRole:ApplicationRole -> unit 
public function Add(
    applicationRole : ApplicationRole
)

Parâmetros