مشاركة عبر


NamedComponentCollection.IsValidID Method (String, Type, String%)

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Determines whether the named component collection identifier is valid.

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

Syntax

'Declaration
Protected Function IsValidID ( _
    id As String, _
    type As Type, _
    <OutAttribute> ByRef error As String _
) As Boolean
'Usage
Dim id As String 
Dim type As Type 
Dim error As String 
Dim returnValue As Boolean 

returnValue = Me.IsValidID(id, type, _
    error)
protected bool IsValidID(
    string id,
    Type type,
    out string error
)
protected:
bool IsValidID(
    String^ id, 
    Type^ type, 
    [OutAttribute] String^% error
)
member IsValidID : 
        id:string * 
        type:Type * 
        error:string byref -> bool
protected function IsValidID(
    id : String, 
    type : Type, 
    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