TextHelpers.IsValidSiteCode Method (String)

 

Verifies whether a specified string is a valid site code.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static bool IsValidSiteCode(
    string siteCode
)
public:
static bool IsValidSiteCode(
    String^ siteCode
)
Public Shared Function IsValidSiteCode (
    siteCode As String
) As Boolean

Parameters

  • siteCode
    Type: System.String

    String to validate as a site code.

Return Value

Type: System.Boolean

True if the string is a valid site code, false if not.

See Also

TextHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top