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 引進)
|