Freigeben über


CubeCollection.IsValidID-Methode (String, String%)

Indicates whether the identifier of the collection is valid.

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

Syntax

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

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

Parameter

  • error
    Typ: System.String%
    The error that will occur if the identifier of the collection is not valid.

Rückgabewert

Typ: System.Boolean
true if the identifier of the collection is valid; otherwise, false.

Siehe auch

Verweis

CubeCollection Klasse

IsValidID-Überladung

Microsoft.AnalysisServices-Namespace