ScriptUtilities.ConvertStringToGuid Method (String)

 

Applies To: Windows Server Update Services

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

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

Syntax

public Guid ConvertStringToGuid(
    string value
)
public:
Guid ConvertStringToGuid(
    String^ value
)
member ConvertStringToGuid : 
        value:string -> Guid
Public Function ConvertStringToGuid (
    value As String
) As Guid

Parameters

  • value
    Type: System.String

    The string with the formatted GUID value.

Return Value

Type: System.Guid

A GUID with the value of the GUID in the string.

See Also

ScriptUtilities Class
Microsoft.UpdateServices.Administration Namespace

Return to top