Méthode MiningStructurePermissionCollection.Add (String)
Creates, adds to collection and returns a new MiningStructurePermission (with name and identifier generated to be unique in the collection).
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Add ( _
roleId As String _
) As MiningStructurePermission
'Utilisation
Dim instance As MiningStructurePermissionCollection
Dim roleId As String
Dim returnValue As MiningStructurePermission
returnValue = instance.Add(roleId)
public MiningStructurePermission Add(
string roleId
)
public:
MiningStructurePermission^ Add(
String^ roleId
)
member Add :
roleId:string -> MiningStructurePermission
public function Add(
roleId : String
) : MiningStructurePermission
Paramètres
- roleId
Type : System.String
The role identifier for the new MiningStructurePermission.
Valeur de retour
Type : Microsoft.AnalysisServices.MiningStructurePermission
The newly created MiningStructurePermission.