Creates and adds a Role to the collection.
重载列表
| 名称 | Description | 
|---|---|
| RoleCollection.Add () | 
Creates and adds a Role to the end of the collection.
 | 
| RoleCollection.Add (ModelComponent) | (inherited from Add ) | 
| RoleCollection.Add (Role) | 
Adds a Role to the end of the collection.
 | 
| RoleCollection.Add (String) | 
Creates and adds a Role, with the specified identifier, to the end of the collection.
 | 
| RoleCollection.Add (ModelComponent, Boolean) | (inherited from Add ) | 
| RoleCollection.Add (String, IModelComponent) | (inherited from Add ) | 
| RoleCollection.Add (String, String) | 
Creates and adds a Role, with the specified name and identifier, to the end of the collection.
 | 
| RoleCollection.Add (String, IModelComponent, Boolean) | (inherited from Add ) | 
请参阅
参考
RoleCollection Class
RoleCollection Members
Microsoft.AnalysisServices Namespace