Library Commands Object Model Reference

ValidateNameCommand.Execute Method 

Causes the command to execute and return true if the name can be used as a SurveyAssest name. If the name cannot be used as an asset name it will return false and it will call the errorHandler delegate if the errorHandler delegate is not null

public virtual bool Execute(
   ErrorHandler errorHandler
);

Parameters

errorHandler
this is an optional parameter. You can pass null

Return Value

true if name is valid. false if name already exists or is invalid

See Also

ValidateNameCommand Class | Spss.Dimensions.Library.Commands Namespace