Compartilhar via


Método MiningStructurePermissionCollection.Add (String)

Creates, adds to collection and returns a new MiningStructurePermission (with name and identifier generated to be unique in the collection).

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (em Microsoft.AnalysisServices.dll)

Sintaxe

'Declaração
Public Function Add ( _
    roleId As String _
) As MiningStructurePermission
'Uso
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

Parâmetros

Valor de retorno

Tipo: Microsoft.AnalysisServices.MiningStructurePermission
The newly created MiningStructurePermission.

Consulte também

Referência

MiningStructurePermissionCollection Classe

Sobrecarregado Add

Namespace Microsoft.AnalysisServices