UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:mi.MI_DestinationOptions_AddDestinationCredentials |
MI_DestinationOptions_AddDestinationCredentials function (mi.h) |
Sets the credentials for talking to the destination. |
|
wmi_v2\mi_destinationoptions_adddestinationcredentials.htm |
wmi_v2 |
d3abb931-47eb-4f13-b463-caf6c6b918b0 |
12/05/2018 |
MI_DestinationOptions_AddDestinationCredentials, MI_DestinationOptions_AddDestinationCredentials function [Windows Management Infrastructure (MI)], mi/MI_DestinationOptions_AddDestinationCredentials, wmi_v2.mi_destinationoptions_adddestinationcredentials |
mi.h |
Windows |
Windows 8 |
Windows Server 2012 |
Windows |
Windows Management Framework 3.0 on Windows Server 2008 R2 with SP1, Windows 7 with SP1, and Windows Server 2008 with SP2 |
19H1 |
|
|
|
|
|
|
Sets the credentials for talking to the destination.
A pointer to a MI_DestinationOptions structure that contains the destination options.
A pointer to a MI_UserCredentials structure that contains the credentials used when communicating with the destination machine.
This function returns MI_INLINE MI_Result.
The credentials supported will vary depending on the destination, the protocol and the transport. If dual-factor authentication is required this method can be called twice. The default credentials will vary depending on the protocol and transport selected.