共用方式為


LabAutoShutdownProfile Class

Definition

Profile for how to handle shutting down virtual machines.

public class LabAutoShutdownProfile
type LabAutoShutdownProfile = class
Public Class LabAutoShutdownProfile
Inheritance
LabAutoShutdownProfile

Constructors

LabAutoShutdownProfile()

Initializes a new instance of LabAutoShutdownProfile.

Properties

DisconnectDelay

The amount of time a VM will stay running after a user disconnects if this behavior is enabled.

IdleDelay

The amount of time a VM will idle before it is shutdown if this behavior is enabled.

NoConnectDelay

The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled.

ShutdownOnDisconnect

Whether shutdown on disconnect is enabled.

ShutdownOnIdle

Whether a VM will get shutdown when it has idled for a period of time.

ShutdownWhenNotConnected

Whether a VM will get shutdown when it hasn't been connected to after a period of time.

Applies to