[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Verifies if a specified string is a valid site code

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
bool 
IsValidSiteCode(
	
string 
siteCode
)
Public 
Shared 
Function 
IsValidSiteCode ( _
	
siteCode 
As 
String _
) 
As 
Boolean
public:
static 
bool 
IsValidSiteCode(
	
String^ 
siteCode
)

Parameters

siteCode
String
String to validate as a site code

Return Value

true if string is a valid site code, false if not

See Also