Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
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_Condition- Access type: Read/Write - Qualifiers: None 
- ContinueOnError 
 Data type: Boolean- Access type: Read/Write - Qualifiers: None 
- Description 
 Data type: String- Access type: Read/Write - Qualifiers: [AllowedLen("0-255")] 
- 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 
- Name 
 Data type: String- Access type: Read/Write - Qualifiers: [AllowedLen("1-100")] 
- 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 the MSDN documentation for Operating System 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] 
- Timeout 
 Data type: UInt32- Access type: Read/Write - Qualifiers: None 
- 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 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
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
Concepts
Operating System Deployment Server WMI Classes
SMS_TaskSequence_Action Server WMI Class
About Operating System Deployment Task Sequences
Configuration Manager Operating System Deployment
How to Create an Operating System Deployment Task Sequence
How to Add an Operating System Deployment Task Sequence Action