Utils.IsSyntacticallyValidName(String, ObjectType, String) Method

Definition

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.

Applies to