Utils.GetSyntacticallyValidName(String, ObjectType) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.