StoreConfiguration.SetEnterpriseStoreWebAccountId(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定目前登入市集之 Azure AD 使用者的市集使用者帳戶識別碼,讓其他應用程式可以查詢此識別碼。
public:
static void SetEnterpriseStoreWebAccountId(Platform::String ^ webAccountId);
static void SetEnterpriseStoreWebAccountId(winrt::hstring const& webAccountId);
public static void SetEnterpriseStoreWebAccountId(string webAccountId);
function setEnterpriseStoreWebAccountId(webAccountId)
Public Shared Sub SetEnterpriseStoreWebAccountId (webAccountId As String)
參數
- webAccountId
-
String
Platform::String
winrt::hstring
市集使用者帳戶識別碼 (通常是從 WebAccount.Id 屬性取得,) 為目前登入市集的 Azure AD 使用者設定。
Windows 需求
裝置系列 |
Windows 10 Creators Update (已於 10.0.15063.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v4.0 引進)
|
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應