Share via


BitsJob.AddCredentials Method (BitsAuthScheme, BitsAuthTarget, NetworkCredential)

 

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

See Also

BitsJob Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top