Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds credentials to the BITS job. If the credential scheme is already represented, the credential is replaced.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public void AddCredentials(
BitsAuthScheme scheme,
BitsAuthTarget target,
NetworkCredential networkCredential
)
public:
void AddCredentials(
BitsAuthScheme scheme,
BitsAuthTarget target,
NetworkCredential^ networkCredential
)
Public Sub AddCredentials (
scheme As BitsAuthScheme,
target As BitsAuthTarget,
networkCredential As NetworkCredential
)
Parameters
scheme
Type: Microsoft.ConfigurationManagement.Messaging.Framework.Bits.BitsAuthSchemeThe BITS authentication scheme.
target
Type: Microsoft.ConfigurationManagement.Messaging.Framework.Bits.BitsAuthTargetThe BITS authentication target.
networkCredential
Type: System.Net.NetworkCredentialNetwork credentials.
See Also
BitsJob Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top