ScriptUtilities.ConvertIntToEnumString Method (String, Int32)
Applies To: Windows Server Update Services
Converts an integer enumeration value to its name.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
public string ConvertIntToEnumString(
string enumTypeName,
int enumValue
)
public:
String^ ConvertIntToEnumString(
String^ enumTypeName,
int enumValue
)
member ConvertIntToEnumString :
enumTypeName:string *
enumValue:int -> string
Public Function ConvertIntToEnumString (
enumTypeName As String,
enumValue As Integer
) As String
Parameters
enumTypeName
Type: System.StringThe enumeration type the value represents.
enumValue
Type: System.Int32The value of the enumeration to be converted.
Return Value
Type: System.String
The name of the enumeration value.
See Also
ScriptUtilities Class
Microsoft.UpdateServices.Administration Namespace
Return to top