Partager via


Méthode Add (String)

Creates and adds a CubeDimensionPermission, with the specified identifier, to the end of the collection.

Espace de noms :  Microsoft.AnalysisServices
Assembly :  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Syntaxe

'Déclaration
Public Function Add ( _
    cubeDimensionId As String _
) As CubeDimensionPermission
'Utilisation
Dim instance As CubeDimensionPermissionCollection
Dim cubeDimensionId As String
Dim returnValue As CubeDimensionPermission

returnValue = instance.Add(cubeDimensionId)
public CubeDimensionPermission Add(
    string cubeDimensionId
)
public:
CubeDimensionPermission^ Add(
    String^ cubeDimensionId
)
member Add : 
        cubeDimensionId:string -> CubeDimensionPermission 
public function Add(
    cubeDimensionId : String
) : CubeDimensionPermission

Paramètres

Valeur de retour

Type : Microsoft.AnalysisServices. . :: . .CubeDimensionPermission
The zero-based index at which the CubeDimensionPermission has been added.