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.