NamedComponentCollection.IsValidID 方法 (String, Type, String%)
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Determines whether the named component collection identifier is valid.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Protected Function IsValidID ( _
id As String, _
type As Type, _
<OutAttribute> ByRef error As String _
) As Boolean
'用途
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
參數
- id
型別:System.String
The identifier.
- type
型別:System.Type
The type.
- error
型別:System.String%
The error.
傳回值
型別:System.Boolean
true if the named component collection identifier is valid; otherwise, false.