MiningStructurePermissionCollection.Add MiningStructurePermissionCollection.Add MiningStructurePermissionCollection.Add Method

Definition

Creates and adds a MiningStructurePermission to the collection.

Overloads

Add(MiningStructurePermission) Add(MiningStructurePermission) Add(MiningStructurePermission)

Adds a MiningStructurePermission to the end of the collection.

Add(String) Add(String) Add(String)

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

Add(String, String) Add(String, String) Add(String, String)

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

Add(String, String, String) Add(String, String, String) Add(String, String, String)

Creates, adds to collection and returns a new MiningStructurePermission.

Add(MiningStructurePermission) Add(MiningStructurePermission) Add(MiningStructurePermission)

Adds a MiningStructurePermission to the end of the collection.

public:
 int Add(Microsoft::AnalysisServices::MiningStructurePermission ^ item);
public int Add (Microsoft.AnalysisServices.MiningStructurePermission item);
Public Function Add (item As MiningStructurePermission) As Integer
Parameters
Returns

The zero-based index at which the MiningStructurePermission has been added.

Add(String) Add(String) Add(String)

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

public:
 Microsoft::AnalysisServices::MiningStructurePermission ^ Add(System::String ^ roleId);
public Microsoft.AnalysisServices.MiningStructurePermission Add (string roleId);
Public Function Add (roleId As String) As MiningStructurePermission
Parameters
roleId
String String String

The role identifier for the new MiningStructurePermission.

Returns

Add(String, String) Add(String, String) Add(String, String)

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

public:
 Microsoft::AnalysisServices::MiningStructurePermission ^ Add(System::String ^ roleId, System::String ^ name);
public Microsoft.AnalysisServices.MiningStructurePermission Add (string roleId, string name);
Public Function Add (roleId As String, name As String) As MiningStructurePermission
Parameters
roleId
String String String

The role identifier for the new MiningStructurePermission.

name
String String String

The name for the new MiningStructurePermission (needs to be unique in the collection).

Returns

Add(String, String, String) Add(String, String, String) Add(String, String, String)

Creates, adds to collection and returns a new MiningStructurePermission.

public:
 Microsoft::AnalysisServices::MiningStructurePermission ^ Add(System::String ^ roleId, System::String ^ name, System::String ^ id);
public Microsoft.AnalysisServices.MiningStructurePermission Add (string roleId, string name, string id);
Public Function Add (roleId As String, name As String, id As String) As MiningStructurePermission
Parameters
roleId
String String String

The role identifier for the new MiningStructurePermission.

name
String String String

The name for the new MiningStructurePermission (needs to be unique in the collection).

id
String String String

The identifier for the new MiningStructurePermission (needs to be unique in the collection).

Returns

Applies to