ApplicationRoleCollection.Add Método
Add the specified application role to the collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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
- applicationRole
Tipo: Microsoft.SqlServer.Management.Smo.ApplicationRole
A ApplicationRole object that specifies the application role to add to the collection.
Ejemplos
Vea también
Referencia
ApplicationRoleCollection Clase
Espacio de nombres Microsoft.SqlServer.Management.Smo