Compartir a través de


AttributeRelationshipCollection.IsValidName Method (String, out 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.

Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Sintaxis

'Declaración
Public Function IsValidName ( _
    name As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
public bool IsValidName (
    string name,
    out string error
)
public:
bool IsValidName (
    String^ name, 
    [OutAttribute] String^% error
)
public boolean IsValidName (
    String name, 
    /** @attribute OutAttribute() */ /** @ref */ String error
)
JScript no permite pasar argumentos de valor para referencia.

Parámetros

  • name
    Specifies the name to be validated.
  • error
    A System.String that holds the error message in case name is invalid.

Valor devuelto

Returns true if name is valid; otherwise, false.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

AttributeRelationshipCollection Class
AttributeRelationshipCollection Members
Microsoft.AnalysisServices Namespace