共用方式為


Utils.IsSyntacticallyValidName 方法 (String, Type, ModelType, Int32, String%)

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Shared Function IsSyntacticallyValidName ( _
    name As String, _
    type As Type, _
    modelType As ModelType, _
    compatibilityLevel As Integer, _
    <OutAttribute> ByRef error As String _
) As Boolean
'用途
Dim name As String 
Dim type As Type 
Dim modelType As ModelType 
Dim compatibilityLevel As Integer 
Dim error As String 
Dim returnValue As Boolean 

returnValue = Utils.IsSyntacticallyValidName(name, _
    type, modelType, compatibilityLevel, _
    error)
public static bool IsSyntacticallyValidName(
    string name,
    Type type,
    ModelType modelType,
    int compatibilityLevel,
    out string error
)
public:
static bool IsSyntacticallyValidName(
    String^ name, 
    Type^ type, 
    ModelType modelType, 
    int compatibilityLevel, 
    [OutAttribute] String^% error
)
static member IsSyntacticallyValidName : 
        name:string * 
        type:Type * 
        modelType:ModelType * 
        compatibilityLevel:int * 
        error:string byref -> bool
public static function IsSyntacticallyValidName(
    name : String, 
    type : Type, 
    modelType : ModelType, 
    compatibilityLevel : int, 
    error : String
) : boolean

參數

傳回值

型別:System.Boolean

請參閱

參考

Utils 類別

IsSyntacticallyValidName 多載

Microsoft.AnalysisServices 命名空間