Метод NamedComponentCollection.IsValidName (String, Type, String%)
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Determines whether the named component collection name is valid.
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Protected Function IsValidName ( _
name As String, _
type As Type, _
<OutAttribute> ByRef error As String _
) As Boolean
'Применение
Dim name As String
Dim type As Type
Dim error As String
Dim returnValue As Boolean
returnValue = Me.IsValidName(name, _
type, error)
protected bool IsValidName(
string name,
Type type,
out string error
)
protected:
bool IsValidName(
String^ name,
Type^ type,
[OutAttribute] String^% error
)
member IsValidName :
name:string *
type:Type *
error:string byref -> bool
protected function IsValidName(
name : String,
type : Type,
error : String
) : boolean
Параметры
- name
Тип: System.String
The name.
- type
Тип: System.Type
The type.
- error
Тип: System.String%
The error.
Возвращаемое значение
Тип: System.Boolean
true if the named component collection name is valid; otherwise, false.