Méthode AttributePermissionCollection.Add (String)
Creates and adds an AttributePermission, with the specified attribute 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 ( _
attributeId As String _
) As AttributePermission
'Utilisation
Dim instance As AttributePermissionCollection
Dim attributeId As String
Dim returnValue As AttributePermission
returnValue = instance.Add(attributeId)
public AttributePermission Add(
string attributeId
)
public:
AttributePermission^ Add(
String^ attributeId
)
member Add :
attributeId:string -> AttributePermission
public function Add(
attributeId : String
) : AttributePermission
Paramètres
- attributeId
Type : System.String
The attribute identifier for the new AttributePermission to be added.
Valeur de retour
Type : Microsoft.AnalysisServices.AttributePermission
The zero-based index at which the AttributePermission has been added.