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.

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

Syntax

'Declaration
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
)
Von JScript werden keine passiven Werttypargumente zur Referenz unterstützt.

Parameter

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

Rückgabewert

Returns true if name is valid; otherwise, false.

Threadsicherheit

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.

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

AttributeRelationshipCollection Class
AttributeRelationshipCollection Members
Microsoft.AnalysisServices Namespace