DimensionAttributeCollection.IsValidID 方法 (String, String%)

Indicates whether the identifier of the collection is valid.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Overrides Function IsValidID ( _
    id As String, _
    <OutAttribute> ByRef error As String _
) As Boolean
用法
Dim instance As DimensionAttributeCollection 
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

参数

  • error
    类型:System.String%
    The error occurs when validating.

返回值

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

请参阅

参考

DimensionAttributeCollection 类

IsValidID 重载

Microsoft.AnalysisServices 命名空间