StoreConfiguration.SetEnterpriseStoreWebAccountId(String) 方法

定义

为登录到应用商店的当前 Azure AD 用户设置应用商店用户帐户 ID,以便其他应用可以针对此 ID 进行查询。

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

应用商店用户帐户 ID (通常从 WebAccount.Id 属性获取,) 为当前登录到应用商店的 Azure AD 用户设置。

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v4.0 中引入)

适用于