SCCMWebService..::..GetRegistryValues Method
Gets all registry values from specified path.
Namespace:
SCCMWebServiceAssembly: SCCMWebService (in SCCMWebService.dll)
Syntax
[SoapHeaderAttribute] [WebMethodAttribute] public DataSet GetRegistryValues( string computerName, RegistryHive hive, string path )
<SoapHeaderAttribute> _ <WebMethodAttribute> _ Public Function GetRegistryValues ( _ computerName As String, _ hive As RegistryHive, _ path As String _ ) As DataSet
[SoapHeaderAttribute] [WebMethodAttribute] public: DataSet^ GetRegistryValues( String^ computerName, RegistryHive^ hive, String^ path )
Parameters
- computerName
- Type: String
Name of the computer.
- hive
- Type: RegistryHive
The hive.
- path
- Type: String
The path.
Return Value
DataSet.Exceptions
Exception | Condition |
---|---|
Exception | Computer name must not be empty! or Unable to get DNS host name for computer + computerName + ! or Unable to get SCCM client properties for computer + computerName + because host is unreachable! |