RemoteSystem.IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
檢查用戶端裝置是否已獲得授權,以探索其他使用者的裝置,或只是相同的使用者裝置。
public:
static bool IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind kind);
static bool IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind const& kind);
public static bool IsAuthorizationKindEnabled(RemoteSystemAuthorizationKind kind);
function isAuthorizationKindEnabled(kind)
Public Shared Function IsAuthorizationKindEnabled (kind As RemoteSystemAuthorizationKind) As Boolean
參數
傳回
Boolean
bool
如果用戶端裝置設定為種類授權配置,則傳回true,否則傳回false。
Windows 需求
裝置系列 |
Windows 10 Creators Update (已於 10.0.15063.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
|
應用程式功能 |
remoteSystem
|
備註
此授權是全系統設定。 使用者可以移至 [設定 > 系統 > 共用體驗] 來檢視和變更它。