SCCMWebService..::..StartOSDeployment Method
Starts an OS deployment.
Namespace:
SCCMWebServiceAssembly: SCCMWebService (in SCCMWebService.dll)
Syntax
[SoapHeaderAttribute] [WebMethodAttribute] public DataSet StartOSDeployment( string osdCollectionID, string[] computers, ComputerVariable[] variables, out DataSet importResultSet )
<SoapHeaderAttribute> _ <WebMethodAttribute> _ Public Function StartOSDeployment ( _ osdCollectionID As String, _ computers As String(), _ variables As ComputerVariable(), _ <OutAttribute> ByRef importResultSet As DataSet _ ) As DataSet
[SoapHeaderAttribute] [WebMethodAttribute] public: DataSet^ StartOSDeployment( String^ osdCollectionID, array<String^>^ computers, array<ComputerVariable^>^ variables, [OutAttribute] DataSet^% importResultSet )
Parameters
- osdCollectionID
- Type: String
The osd collection identifier.
- computers
- Type: array<String>[]()[][]
An array of computers and mac addresses (comma separated).
- variables
- Type: array<ComputerVariable>[]()[][]
An array of ComputerVariable.
- importResultSet
- Type: DataSet%
The result of the computer import as DataSet: Name, ResourceID, ErrorMessage.