ScriptUtilities Class

 

Applies To: Windows Server Update Services

This class defines a series of utilities for COM clients scripting against the Windows Server Update Services API.

Namespace:   Microsoft.UpdateServices.Administration
Assembly:  Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)

Inheritance Hierarchy

System.Object
  Microsoft.UpdateServices.Administration.ScriptUtilities

Syntax

[GuidAttribute("741AA6B1-A922-4084-9980-451F92BEFCAC")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public sealed class ScriptUtilities
[GuidAttribute("741AA6B1-A922-4084-9980-451F92BEFCAC")]
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[ComVisibleAttribute(true)]
public ref class ScriptUtilities sealed 
[<Sealed>]
[<GuidAttribute("741AA6B1-A922-4084-9980-451F92BEFCAC")>]
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<ComVisibleAttribute(true)>]
type ScriptUtilities = class end
<GuidAttribute("741AA6B1-A922-4084-9980-451F92BEFCAC")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(True)>
Public NotInheritable Class ScriptUtilities

Constructors

Name Description
System_CAPS_pubmethod ScriptUtilities()

Initializes a new instance of the ScriptUtilities class.

Methods

Name Description
System_CAPS_pubmethod ConvertEnumStringToInt(String)

Converts an enumeration type and value string to the actual value.

System_CAPS_pubmethod ConvertIntToEnumString(String, Int32)

Converts an integer enumeration value to its name.

System_CAPS_pubmethod ConvertStringToDateTime(String)

Converts a string with a formatted DateTime value to a DateTime object.

System_CAPS_pubmethod ConvertStringToGuid(String)

Converts a string with a formatted GUID value to a GUID.

System_CAPS_pubmethod ConvertStringToTimeSpan(String)

Converts a string with a formatted TimeSpan value to a TimeSpan.

System_CAPS_pubmethod ConvertToString(Object)

Converts the specified object to a string.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.UpdateServices.Administration Namespace

Return to top