Partager via


CimCredential Constructor (String)

 

Creates and initializes a new instance of the CimCredential class based on an authentication mechanism.

Namespace:   Microsoft.Management.Infrastructure.Options
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public CimCredential(
    string authenticationMechanism
)
public:
CimCredential(
    String^ authenticationMechanism
)
new : 
        authenticationMechanism:string -> CimCredential
Public Sub New (
    authenticationMechanism As String
)

Parameters

  • authenticationMechanism
    Type: System.String

    The authentication mechanism.

See Also

CimCredential Overload
CimCredential Class
Microsoft.Management.Infrastructure.Options Namespace

Return to top