NamedComponentCollection.IsValidName Método (String, Type, String%)
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Determines whether the named component collection name is valid.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Protected Function IsValidName ( _
name As String, _
type As Type, _
<OutAttribute> ByRef error As String _
) As Boolean
'Uso
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
Parámetros
- name
Tipo: System.String
The name.
- type
Tipo: System.Type
The type.
- error
Tipo: System.String%
The error.
Valor devuelto
Tipo: System.Boolean
true if the named component collection name is valid; otherwise, false.