مشاركة عبر


NamedComponentCollection.IsValidID Method (String, String%)

Determines whether the named component collection identifier is valid.

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

Syntax

'Declaration
Public Overridable Function IsValidID ( _
    id As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
'Usage
Dim instance As NamedComponentCollection 
Dim id As String 
Dim error As String 
Dim returnValue As Boolean 

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

Parameters

Return Value

Type: System.Boolean
true if the named component collection identifier is valid; otherwise, false.

See Also

Reference

NamedComponentCollection Class

IsValidID Overload

Microsoft.AnalysisServices Namespace