Dela via


Utils.GetSyntacticallyValidName(String, ObjectType) Method

Definition

Gets the syntactically valid name of the object. Null or empty names are replaced with a default name. Names exceeding maximum allowed length are trimmed. Invalid XML is removed.

public static string GetSyntacticallyValidName (string baseName, Microsoft.AnalysisServices.Tabular.ObjectType type);
static member GetSyntacticallyValidName : string * Microsoft.AnalysisServices.Tabular.ObjectType -> string
Public Shared Function GetSyntacticallyValidName (baseName As String, type As ObjectType) As String

Parameters

baseName
String

An input name subject to validation.

type
ObjectType

Type of object.

Returns

Returns a syntactically valid name.

Applies to