SPaDevToolkit STSADM Command Extensions Validator Attributes

The following Validator attributes are available for use:
  • SPaEnumValidatorAttribute - Ensure parameter value matches the string representation of at least one Enumeration member
  • SPaFileExistsValidatorAttribute - Ensure parameter value is a path to an existing file.
  • SPaFolderExistsValidator - Ensure parameter value is path to an existing folder.
  • SPaGuidValidatorAttribute - Ensure parameter value represents a valid GUID.
  • SPaIntRangeValidator - Ensure parameter value is an integer between a specified minimum and maximum value.
  • SPaIntValidatorAttribute - Ensure parameter value is an integer
  • SPaLongRangeValidator - Ensure parameter value is a long between a specified minimum and maximum value.
  • SPaLongValidatorAttribute - Ensure parameter value is a long
  • SPaNotNullOrEmptyValidator - Ensure parameter value is specified
  • SPaRegExValidator - Ensure parameter value matches a specified Regular Expression pattern
  • SPaTrueFalseValidator - Ensure parameter value is true or false
  • SPaUrlValidator - Ensure parameter value is a valid Url.

Last edited Jul 8, 2008 at 12:53 PM by drudolph, version 1

Comments

No comments yet.