Freigeben über


Add-Methode

Add the specified application role to the collection.

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

Syntax

'Declaration
Public Sub Add ( _
    applicationRole As ApplicationRole _
)
'Usage
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
)

Parameter