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.

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_ConditionAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
ContinueOnError

Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
Description

Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("0-255")]See SMS_TaskSequence_Action Server WMI Class.
DriveLetter

Data type: StringAccess type: Read/WriteQualifiers: NoneDrive letter to use for connection to the network share.
Enabled

Data type: BooleanAccess type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
Name

Data type: StringAccess type: Read/WriteQualifiers: [AllowedLen("1-100")]See SMS_TaskSequence_Action Server WMI Class.
Password

Data type: StringAccess type: Read/WriteQualifiers: [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 the MSDN documentation for Operating System Deployment Task Sequence Variables.
Path

Data type: StringAccess type: Read/WriteQualifiers: [Not_Null]The path to which to connect.
SupportedEnvironment

Data type: StringAccess type: Read/WriteQualifiers: [Not_Null:ToInstance]See SMS_TaskSequence_Action Server WMI Class.
Timeout

Data type: UInt32Access type: Read/WriteQualifiers: NoneSee SMS_TaskSequence_Action Server WMI Class.
Username

Data type: StringAccess type: Read/WriteQualifiers: [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 the MSDN documentation for Operating System 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

Development Requirements

See Also