NamedComponentCollection.IsValidName Method (String, String)

 

Applies To: SQL Server (starting with 2016)

Determines whether the named component collection name is valid.

Namespace:   Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)

Syntax

public virtual bool IsValidName(
    string name,
    out string error
)
public:
virtual bool IsValidName(
    String^ name,
    [OutAttribute] String^% error
)
abstract IsValidName : 
        name:string *
        error:string byref -> bool
override IsValidName : 
        name:string *
        error:string byref -> bool
Public Overridable Function IsValidName (
    name As String,
    <OutAttribute> ByRef error As String
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the named component collection name is valid; otherwise, false.

See Also

IsValidName Overload
NamedComponentCollection Class
Microsoft.AnalysisServices Namespace

Return to top