Classe fileprofileclass FileProfile
FileProfile è la classe radice per l'uso delle operazioni di Microsoft Information Protection.FileProfile class is the root class for using the Microsoft Information Protection operations. Un'applicazione comune richiede un solo profilo.A typical application will only need one Profile.
RiepilogoSummary
MembriMembers | DescrizioniDescriptions |
---|---|
public const Settings& GetSettings() constpublic const Settings& GetSettings() const | Restituisce le impostazioni del profilo.Returns the profile settings. |
public std:: shared_ptr <AsyncControl> ListEnginesAsync (const std:: shared_ptr <void>& context)public std::shared_ptr<AsyncControl> ListEnginesAsync(const std::shared_ptr<void>& context) | Avvia l'operazione di elenco motori.Starts list engines operation. |
public std:: shared_ptr <AsyncControl> UnloadEngineAsync (const std:: string& ID, const std:: shared_ptr <void>& context)public std::shared_ptr<AsyncControl> UnloadEngineAsync(const std::string& id, const std::shared_ptr<void>& context) | Avvia lo scaricamento del motore di file con l'ID specificato.Starts unloading the file engine with the given ID. |
public std:: shared_ptr <AsyncControl> AddEngineAsync (const fileengine:: settings& Settings, const std:: shared_ptr <void>& context)public std::shared_ptr<AsyncControl> AddEngineAsync(const FileEngine::Settings& settings, const std::shared_ptr<void>& context) | Avvia l'aggiunta di un nuovo motore di file al profilo.Starts adding a new file engine to the profile. |
public std:: shared_ptr <AsyncControl> DeleteEngineAsync (const std:: string& ID, const std:: shared_ptr <void>& context)public std::shared_ptr<AsyncControl> DeleteEngineAsync(const std::string& id, const std::shared_ptr<void>& context) | Avvia l'eliminazione del motore di file con l'ID specificato.Starts deleting the file engine with the given ID. Tutti i dati per il profilo specificato verranno eliminati.All data for the given profile will be deleted. |
public void AcquirePolicyAuthToken (Cloud Cloud, const std:: shared_ptr <AuthDelegate>& authDelegate) constpublic void AcquirePolicyAuthToken(Cloud cloud, const std::shared_ptr<AuthDelegate>& authDelegate) const | Attivare un callback di autenticazione per i criteri.Trigger an authentication callback for policy. |
MembriMembers
GetSettings (funzione)GetSettings function
Restituisce le impostazioni del profilo.Returns the profile settings.
ListEnginesAsync (funzione)ListEnginesAsync function
Avvia l'operazione di elenco motori.Starts list engines operation.
Restituisce: oggetto controllo asincrono.Returns: Async control object. In base all'esito positivo o negativo dell'operazione verrà chiamato FileProfile::Observer.FileProfile::Observer will be called upon success or failure.
UnloadEngineAsync (funzione)UnloadEngineAsync function
Avvia lo scaricamento del motore di file con l'ID specificato.Starts unloading the file engine with the given ID.
Restituisce: oggetto controllo asincrono.Returns: Async control object. In base all'esito positivo o negativo dell'operazione verrà chiamato FileProfile::Observer.FileProfile::Observer will be called upon success or failure.
AddEngineAsync (funzione)AddEngineAsync function
Avvia l'aggiunta di un nuovo motore di file al profilo.Starts adding a new file engine to the profile.
Restituisce: oggetto controllo asincrono.Returns: Async control object. In base all'esito positivo o negativo dell'operazione verrà chiamato FileProfile::Observer.FileProfile::Observer will be called upon success or failure.
DeleteEngineAsync (funzione)DeleteEngineAsync function
Avvia l'eliminazione del motore di file con l'ID specificato.Starts deleting the file engine with the given ID. Tutti i dati per il profilo specificato verranno eliminati.All data for the given profile will be deleted.
Restituisce: oggetto controllo asincrono.Returns: Async control object. In base all'esito positivo o negativo dell'operazione verrà chiamato FileProfile::Observer.FileProfile::Observer will be called upon success or failure.
AcquirePolicyAuthToken (funzione)AcquirePolicyAuthToken function
Attivare un callback di autenticazione per i criteri.Trigger an authentication callback for policy.
ParametriParameters:
cloud: cloud di Azurecloud: Azure cloud
authDelegate: callback di autenticazione che verrà richiamatoauthDelegate: Authentication callback that will be invoked
MIP non memorizza nella cache o non esegue altre operazioni con il valore restituito dal delegato di autenticazione.MIP will not cache or do anything else with the value returned by the auth delegate. Questa funzione è consigliata per le applicazioni che non sono "connesse" fino a quando MIP richiede un token di autenticazione.This function is recommended for applications that aren't "logged in" until after MIP requests an auth token. Consente a un'applicazione di recuperare un token prima che MIP ne richieda effettivamente uno.It allows an application to fetch a token before MIP actually requires one.