ApplicationRoleCollection.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
- applicationRole
Typ: Microsoft.SqlServer.Management.Smo.ApplicationRole
A ApplicationRole object that specifies the application role to add to the collection.
Beispiele
Siehe auch
Verweis
ApplicationRoleCollection Klasse
Microsoft.SqlServer.Management.Smo-Namespace