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.