MdmSession.StartAsync 方法

定义

重载

StartAsync()

使用常量警报启动 MDM 会话。

StartAsync(IIterable<MdmAlert>)

使用自定义警报启动 MDM 会话。

StartAsync()

使用常量警报启动 MDM 会话。

public:
 virtual IAsyncAction ^ StartAsync() = StartAsync;
/// [Windows.Foundation.Metadata.Overload("StartAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction StartAsync();
[Windows.Foundation.Metadata.Overload("StartAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction StartAsync();
function startAsync()
Public Function StartAsync () As IAsyncAction

返回

操作的结果。

属性

注解

如果只想与 MDM 服务器检查,则可以使用此方法。

适用于

StartAsync(IIterable<MdmAlert>)

使用自定义警报启动 MDM 会话。

public:
 virtual IAsyncAction ^ StartAsync(IIterable<MdmAlert ^> ^ alerts) = StartAsync;
/// [Windows.Foundation.Metadata.Overload("StartWithAlertsAsync")]
IAsyncAction StartAsync(IIterable<MdmAlert> const& alerts);
[Windows.Foundation.Metadata.Overload("StartWithAlertsAsync")]
public IAsyncAction StartAsync(IEnumerable<MdmAlert> alerts);
function startAsync(alerts)
Public Function StartAsync (alerts As IEnumerable(Of MdmAlert)) As IAsyncAction

参数

alerts

IIterable<MdmAlert>

IEnumerable<MdmAlert>

所有自定义 MdmAlert 的可迭代列表。

返回

操作的结果。

属性

适用于