Share via


AttributePermissionCollection.Remove Method

Definition

Overloads

Remove(AttributePermission)

Removes the specified AttributePermission from the collection.

Remove(String)

Removes the AttributePermission with the specified AttributeID from the collection.

Remove(AttributePermission, Boolean)

Removes the specified AttributePermission from the collection.

Remove(String, Boolean)

Removes the AttributePermission with the specified AttributeID from the collection.

Remove(AttributePermission)

Removes the specified AttributePermission from the collection.

public void Remove (Microsoft.AnalysisServices.AttributePermission item);
override this.Remove : Microsoft.AnalysisServices.AttributePermission -> unit
Public Sub Remove (item As AttributePermission)

Parameters

item
AttributePermission

The AttributePermission to be removed.

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

Applies to

Remove(String)

Removes the AttributePermission with the specified AttributeID from the collection.

public void Remove (string attributeId);
override this.Remove : string -> unit
Public Sub Remove (attributeId As String)

Parameters

attributeId
String

The AttributeID of the AttributePermission to be removed.

Applies to

Remove(AttributePermission, Boolean)

Removes the specified AttributePermission from the collection.

public void Remove (Microsoft.AnalysisServices.AttributePermission item, bool cleanUp);
override this.Remove : Microsoft.AnalysisServices.AttributePermission * bool -> unit
Public Sub Remove (item As AttributePermission, cleanUp As Boolean)

Parameters

item
AttributePermission

The AttributePermission to be removed.

cleanUp
Boolean

True, if referencing objects are to be deleted; otherwise, false.

Exceptions

The specified item is a null reference (Nothing in Visual Basic).

Remarks

This API supports the product infrastructure and is not intended to be used directly from your code.

Applies to

Remove(String, Boolean)

Removes the AttributePermission with the specified AttributeID from the collection.

public void Remove (string attributeId, bool cleanUp);
override this.Remove : string * bool -> unit
Public Sub Remove (attributeId As String, cleanUp As Boolean)

Parameters

attributeId
String

The AttributeID of the AttributePermission to be removed.

cleanUp
Boolean

True, if referencing objects are to be deleted; otherwise, false.

Remarks

This API supports the product infrastructure and is not intended to be used directly from your code.

Applies to