Utils.IsSyntacticallyValidName(String, ObjectType, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Boolean indicating whether the name is syntactically correct.
public static bool IsSyntacticallyValidName (string name, Microsoft.AnalysisServices.Tabular.ObjectType type, out string error);
static member IsSyntacticallyValidName : string * Microsoft.AnalysisServices.Tabular.ObjectType * string -> bool
Public Shared Function IsSyntacticallyValidName (name As String, type As ObjectType, ByRef error As String) As Boolean
Parameters
- name
- String
Name to evaluate.
- type
- ObjectType
Type of object.
- error
- String
Error information about invalid object names.
Returns
True indicates the name passes validation, False otherwise. If an error condition exists, an error string is returned.