Share via


NamedComponentCollection.IsValidName Method (String)

Determines whether the named component collection name is valid.

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

Syntax

'Declaration
Public Function IsValidName ( _
    name As String _
) As Boolean
'Usage
Dim instance As NamedComponentCollection 
Dim name As String 
Dim returnValue As Boolean 

returnValue = instance.IsValidName(name)
public bool IsValidName(
    string name
)
public:
bool IsValidName(
    String^ name
)
member IsValidName : 
        name:string -> bool
public function IsValidName(
    name : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the named component collection name is valid; otherwise, false.

See Also

Reference

NamedComponentCollection Class

IsValidName Overload

Microsoft.AnalysisServices Namespace