NamedComponentCollection.IsValidName Método (String, String%)
Determines whether the named component collection name is valid.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Overridable Function IsValidName ( _
name As String, _
<OutAttribute> ByRef error As String _
) As Boolean
'Uso
Dim instance As NamedComponentCollection
Dim name As String
Dim error As String
Dim returnValue As Boolean
returnValue = instance.IsValidName(name, _
error)
public virtual bool IsValidName(
string name,
out string error
)
public:
virtual bool IsValidName(
String^ name,
[OutAttribute] String^% error
)
abstract IsValidName :
name:string *
error:string byref -> bool
override IsValidName :
name:string *
error:string byref -> bool
public function IsValidName(
name : String,
error : String
) : boolean
Parámetros
- name
Tipo: System.String
The name.
- error
Tipo: System.String%
The error.
Valor devuelto
Tipo: System.Boolean
true if the named component collection name is valid; otherwise, false.