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.