Dela via


MiningModelPermissionCollection.Add Method (MiningModelPermission)

Adds a MiningModelPermission to the end of the collection.

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

Syntax

'Declaration
Public Function Add ( _
    item As MiningModelPermission _
) As Integer
'Usage
Dim instance As MiningModelPermissionCollection
Dim item As MiningModelPermission
Dim returnValue As Integer

returnValue = instance.Add(item)
public int Add(
    MiningModelPermission item
)
public:
int Add(
    MiningModelPermission^ item
)
member Add : 
        item:MiningModelPermission -> int 
public function Add(
    item : MiningModelPermission
) : int

Return Value

Type: System.Int32
The zero-based index at which the MiningModelPermission has been added.