Compartilhar via


Método NamedComponentCollection.IsValidName (String)

Determines whether the named component collection name is valid.

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

Sintaxe

'Declaração
Public Function IsValidName ( _
    name As String _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

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

Consulte também

Referência

NamedComponentCollection Classe

Sobrecarregado IsValidName

Namespace Microsoft.AnalysisServices