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

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Determines whether the named component collection name is valid.

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

Syntax

VB
'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)

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