Метод Add
Add the specified application role to the collection.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public Sub Add ( _
applicationRole As ApplicationRole _
)
'Применение
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
)
Параметры
- applicationRole
Тип Microsoft.SqlServer.Management.Smo. . :: . .ApplicationRole
A ApplicationRole object that specifies the application role to add to the collection.
См. также