ProtectionPolicyManager.IsRoamableProtectionEnabled(String) メソッド

定義

注意

2022 年 7 月以降、Microsoft は Windows Information Protection (WIP) と WIP をサポートする API を非推奨とします。 Microsoft は引き続き、サポートされているバージョンの Windows で WIP をサポートします。 Windows の新しいバージョンには WIP の新機能は含まれません。また、今後のバージョンの Windows ではサポートされません。 詳細については、「Windows Information Protectionの終了を発表する」を参照してください。

データ保護のニーズに合わせて、Microsoft Purview 情報保護Microsoft Purview データ損失防止を使用することをお勧めします。 Purview を使用すると、構成のセットアップが簡略化され、高度な機能セットが提供されます。

Azure Information Protectionを使用してリムーバブル ドライブにコピーされたファイルを保護するようにポリシーを構成するかどうかを決定します。

public:
 static bool IsRoamableProtectionEnabled(Platform::String ^ identity);
 static bool IsRoamableProtectionEnabled(winrt::hstring const& identity);
public static bool IsRoamableProtectionEnabled(string identity);
function isRoamableProtectionEnabled(identity)
Public Shared Function IsRoamableProtectionEnabled (identity As String) As Boolean

パラメーター

identity
String

Platform::String

winrt::hstring

エンタープライズ ID。

戻り値

Boolean

bool

RMS キーを使用してファイルが保護される場合は true、それ以外の場合は false

Windows の要件

デバイス ファミリ
Windows Desktop Extension SDK (10.0.15063.0 で導入)
Windows Mobile Extension SDK (10.0.15063.0 で導入)
API contract
Windows.Security.EnterpriseData.EnterpriseDataContract (v4.0 で導入)

注釈

このメソッドが false を返した場合、ユーザーがリムーバブル ドライブにコピーするファイルはローカル キーを使用して保護され、それらのファイルは現在のデバイス上の他のユーザーにアクセスできなくなります。また、ドライブが別のデバイスに接続されている場合は、その新しく接続されたデバイス上のユーザーにアクセスできなくなります。 このメソッドが false を返す場合は、この情報をダイアログ ボックスに表示することで、この制限についてユーザーに通知することができます (必要に応じて)。

適用対象