Share via


NamedComponentCollection.IsValidName Method (String, Type, String%)

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Protected Function IsValidName ( _
    name As String, _
    type As Type, _
    <OutAttribute> ByRef error As String _
) As Boolean
'Usage
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

Parameters

Return Value

Type: System.Boolean