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 | |
---|---|---|
ScriptUtilities() | Initializes a new instance of the ScriptUtilities class. |
Methods
Name | Description | |
---|---|---|
ConvertEnumStringToInt(String) | Converts an enumeration type and value string to the actual value. |
|
ConvertIntToEnumString(String, Int32) | Converts an integer enumeration value to its name. |
|
ConvertStringToDateTime(String) | Converts a string with a formatted DateTime value to a DateTime object. |
|
ConvertStringToGuid(String) | Converts a string with a formatted GUID value to a GUID. |
|
ConvertStringToTimeSpan(String) | Converts a string with a formatted TimeSpan value to a TimeSpan. |
|
ConvertToString(Object) | Converts the specified object to a string. |
|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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