Partager via


MachineIdentityManager.GetMachineStatus Method (String, String, String)

 

Returns the status of the computer.

Namespace:   Microsoft.WindowsServerSolutions.Devices.Identity
Assembly:  MachineIdentityObjectModel (in MachineIdentityObjectModel.dll)

Syntax

public GetMachineStatusType GetMachineStatus(
    string userName,
    string password,
    string machineName
)
public:
GetMachineStatusType^ GetMachineStatus(
    String^ userName,
    String^ password,
    String^ machineName
)
Public Function GetMachineStatus (
    userName As String,
    password As String,
    machineName As String
) As GetMachineStatusType

Parameters

  • userName
    Type: System.String

    The user name that is used to log on to the computer.

  • machineName
    Type: System.String

    The name of the computer from which the status is obtained.

Return Value

Type: Microsoft.WindowsServerSolutions.Devices.Identity.GetMachineStatusType

An instance of MachineStatus.

See Also

GetMachineStatus Overload
MachineIdentityManager Class
Microsoft.WindowsServerSolutions.Devices.Identity Namespace

Return to top