ScriptUtilities.ConvertStringToDateTime Method (String)
Applies To: Windows Server Update Services
Converts a string with a formatted DateTime value to a DateTime object.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public DateTime ConvertStringToDateTime(
string value
)
public:
DateTime ConvertStringToDateTime(
String^ value
)
member ConvertStringToDateTime :
value:string -> DateTime
Public Function ConvertStringToDateTime (
value As String
) As Date
Parameters
value
Type: System.StringThe string with the formatted DateTime value.
Return Value
Type: System.DateTime
A DateTime with the value of the DateTime in the string.
See Also
ScriptUtilities Class
Microsoft.UpdateServices.Administration Namespace
Return to top