Edit

Share via


SMS_TaskSequence_ConnectNetworkFolderAction Server WMI Class

The SMS_TaskSequence_ConnectNetworkFolderAction Windows Management Instrumentation (WMI) class is an SMS Provider server class, in Configuration Manager, that represents a task sequence action that makes a connection to a network share.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties.

Syntax

Class SMS_TaskSequence_ConnectNetworkFolderAction : SMS_TaskSequence_Action
{
      SMS_TaskSequence_Condition Condition;
      Boolean ContinueOnError;
      String Description;
      String DriveLetter;
      Boolean Enabled;
      String Name;
      String Password;
      String Path;
      String SupportedEnvironment;
      UInt32 Timeout;
      String Username;
};

Methods

The SMS_TaskSequence_ConnectNetworkFolderAction class does not define any methods.

Properties

Condition Data type: SMS_TaskSequence_Condition

Access type: Read/Write

Qualifiers: None

See SMS_TaskSequence_Action Server WMI Class.

ContinueOnError Data type: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_TaskSequence_Action Server WMI Class.

Description Data type: String

Access type: Read/Write

Qualifiers: [AllowedLen("0-255")]

See SMS_TaskSequence_Action Server WMI Class.

DriveLetter Data type: String

Access type: Read/Write

Qualifiers: None

Drive letter to use for connection to the network share.

Enabled Data type: Boolean

Access type: Read/Write

Qualifiers: None

See SMS_TaskSequence_Action Server WMI Class.

Name Data type: String

Access type: Read/Write

Qualifiers: [AllowedLen("1-100")]

See SMS_TaskSequence_Action Server WMI Class.

Password Data type: String

Access type: Read/Write

Qualifiers: [VariableName("SMSConnectNetworkFolderPassword"), Not_Null, Secret]

Password to use to connect to the network share.

The task sequence variable associated with this property is SMSConnectNetworkFolderPassword. For more information, see OS deployment task sequence variables.

Path Data type: String

Access type: Read/Write

Qualifiers: [Not_Null]

The path to which to connect.

SupportedEnvironment Data type: String

Access type: Read/Write

Qualifiers: [Not_Null:ToInstance]

See SMS_TaskSequence_Action Server WMI Class.

Timeout Data type: UInt32

Access type: Read/Write

Qualifiers: None

See SMS_TaskSequence_Action Server WMI Class.

Username Data type: String

Access type: Read/Write

Qualifiers: [VariableName("SMSConnectNetworkFolderAccount"), Not_Null]

Account that should be used to connect to the network share.

The task sequence variable associated with this property is SMSConnectNetworkFolderAccount. For more information, see OS deployment task sequence variables.

Remarks

Class qualifiers for this class include:

[CommandLine("smsnetuse.exe %SMSConnectNetworkFolderPath%"),

VariablePrefix("SMSConnectNetworkFolder"),

ActionCategory{"General,5,1"},ActionUI{"AdminUI.TaskSequenceEditor.dll", "Microsoft.ConfigurationManagement.AdminConsole.TaskSequenceEditor", "ConnectNetworkFolderControl", "TaskSequenceOptionControl"}]

For more information about both the class qualifiers and the property qualifiers included in the Properties section, see Configuration Manager Class and Property Qualifiers.

Requirements

Runtime Requirements

For more information, see Configuration Manager Server Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Server Development Requirements.

See also

SMS_TaskSequence_Action server WMI class