Метод NamedComponentCollection.IsValidName (String, Type, ModelType, Int32, String%)
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Protected Friend Function IsValidName ( _
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 = Me.IsValidName(name, _
type, modelType, compatibilityLevel, _
error)
protected internal bool IsValidName(
string name,
Type type,
ModelType modelType,
int compatibilityLevel,
out string error
)
protected public:
bool IsValidName(
String^ name,
Type^ type,
ModelType modelType,
int compatibilityLevel,
[OutAttribute] String^% error
)
member IsValidName :
name:string *
type:Type *
modelType:ModelType *
compatibilityLevel:int *
error:string byref -> bool
function IsValidName(
name : String,
type : Type,
modelType : ModelType,
compatibilityLevel : int,
error : String
) : boolean
Параметры
- name
Тип: System.String
- type
Тип: System.Type
- modelType
Тип: Microsoft.AnalysisServices.ModelType
- compatibilityLevel
Тип: System.Int32
- error
Тип: System.String%
Возвращаемое значение
Тип: System.Boolean