共用方式為


NamedComponentCollection.IsValidID 方法 (String, String%)

Determines whether the named component collection identifier is valid.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Overridable Function IsValidID ( _
    id As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
'用途
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

參數

傳回值

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

請參閱

參考

NamedComponentCollection 類別

IsValidID 多載

Microsoft.AnalysisServices 命名空間