Partager via


Utils.GetSyntacticallyValidName(String, ObjectType) Méthode

Définition

Obtient le nom syntaxiquement valide de l’objet. Les noms null ou vides sont remplacés par un nom par défaut. Les noms dépassant la longueur maximale autorisée sont tronqués. Le code XML non valide est supprimé.

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

Paramètres

baseName
String

Un nom d’entrée soumis à validation.

type
ObjectType

Type d'objet.

Retours

Retourne un nom syntaxiquement valide.

S’applique à