Share via


Utils.GetSyntacticallyValidName Method

Definition

Overloads

GetSyntacticallyValidName(String, Type)

Gets a new name that is syntacticllly valid.

GetSyntacticallyValidName(String, Type, ModelType, Int32)

Gets a new name that is syntacticllly valid.

GetSyntacticallyValidName(String, Type)

Gets a new name that is syntacticllly valid.

public static string GetSyntacticallyValidName (string baseName, Type type);
static member GetSyntacticallyValidName : string * Type -> string
Public Shared Function GetSyntacticallyValidName (baseName As String, type As Type) As String

Parameters

baseName
String

The base pattern for the name.

type
Type

The type of the object to be named.

Returns

The new name.

Applies to

GetSyntacticallyValidName(String, Type, ModelType, Int32)

Gets a new name that is syntacticllly valid.

public static string GetSyntacticallyValidName (string baseName, Type type, Microsoft.AnalysisServices.ModelType modelType, int compatibilityLevel);
static member GetSyntacticallyValidName : string * Type * Microsoft.AnalysisServices.ModelType * int -> string
Public Shared Function GetSyntacticallyValidName (baseName As String, type As Type, modelType As ModelType, compatibilityLevel As Integer) As String

Parameters

baseName
String

The base pattern for the name.

type
Type

The type of the object to be named.

modelType
ModelType

The type of the model.

compatibilityLevel
Int32

The compatibility level.

Returns

The new name.

Applies to