WebAccountManager.SetScopeAsync(WebAccount, WebAccountScope) 方法

定义

异步设置 Web 帐户的范围。

public:
 static IAsyncAction ^ SetScopeAsync(WebAccount ^ webAccount, WebAccountScope scope);
 static IAsyncAction SetScopeAsync(WebAccount const& webAccount, WebAccountScope const& scope);
public static IAsyncAction SetScopeAsync(WebAccount webAccount, WebAccountScope scope);
function setScopeAsync(webAccount, scope)
Public Shared Function SetScopeAsync (webAccount As WebAccount, scope As WebAccountScope) As IAsyncAction

参数

webAccount
WebAccount

要为其设置范围的 Web 帐户。

scope
WebAccountScope

要设置的范围。

返回

此方法不返回值。

适用于