ApplicationRoleCollection.Add Method
Add the specified application role to the collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub Add ( _
applicationRole As ApplicationRole _
)
'Kullanım
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
)
Parameters
- applicationRole
Type: Microsoft.SqlServer.Management.Smo.ApplicationRole
A ApplicationRole object that specifies the application role to add to the collection.
Examples
See Also
Reference
ApplicationRoleCollection Class
Microsoft.SqlServer.Management.Smo Namespace