Share via


SmartCardProvisioning.RequestVirtualSmartCardDeletionAsync(SmartCard) Method

Definition

Deletes a Trusted Platform Module (TPM) virtual smart card.

public:
 static IAsyncOperation<bool> ^ RequestVirtualSmartCardDeletionAsync(SmartCard ^ card);
 static IAsyncOperation<bool> RequestVirtualSmartCardDeletionAsync(SmartCard const& card);
public static IAsyncOperation<bool> RequestVirtualSmartCardDeletionAsync(SmartCard card);
function requestVirtualSmartCardDeletionAsync(card)
Public Shared Function RequestVirtualSmartCardDeletionAsync (card As SmartCard) As IAsyncOperation(Of Boolean)

Parameters

card
SmartCard

The TPM virtual smart card to delete.

Returns

After the deletion attempt completes, returns true if the TPM virtual smart card was successfully deleted; otherwise false.

Remarks

When this method is called, it displays a UI to enable the user to consent to the deletion.

Applies to

See also