Condividi tramite


Metodo AttributeRelationshipCollection.IsValidName (String, String%)

Verifies that the specified name is a valid name for an AttributeRelationship and returns the error message if it the name is not valid.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function IsValidName ( _
    name As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
'Utilizzo
Dim instance As AttributeRelationshipCollection 
Dim name As String 
Dim error As String 
Dim returnValue As Boolean 

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

Parametri

  • error
    Tipo: System.String%
    A System.String that holds the error message in case name is invalid.

Valore restituito

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

Vedere anche

Riferimento

AttributeRelationshipCollection Classe

Overload IsValidName

Spazio dei nomi Microsoft.AnalysisServices