Partilhar via


Método CubeCollection.IsValidName (String, String%)

Indicates whether the name of the collection is valid.

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

Sintaxe

'Declaração
Public Overrides Function IsValidName ( _
    name As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
'Uso
Dim instance As CubeCollection 
Dim name As String 
Dim error As String 
Dim returnValue As Boolean 

returnValue = instance.IsValidName(name, _
    error)
public override bool IsValidName(
    string name,
    out string error
)
public:
virtual bool IsValidName(
    String^ name, 
    [OutAttribute] String^% error
) override
abstract IsValidName : 
        name:string * 
        error:string byref -> bool  
override IsValidName : 
        name:string * 
        error:string byref -> bool
public override function IsValidName(
    name : String, 
    error : String
) : boolean

Parâmetros

  • error
    Tipo: System.String%
    The error that will occur if the name of the collection is not valid.

Valor de retorno

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

Consulte também

Referência

CubeCollection Classe

Sobrecarregado IsValidName

Namespace Microsoft.AnalysisServices