DimensionAttributeCollection.IsValidName 方法 (String, String%)
Indicates whether the name of the collection is valid.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Overrides Function IsValidName ( _
name As String, _
<OutAttribute> ByRef error As String _
) As Boolean
用法
Dim instance As DimensionAttributeCollection
Dim name As String
Dim error As String
Dim returnValue As Boolean
returnValue = instance.IsValidName(name, _
error)
public override bool IsValidName(
string name,
out string error
)
public:
virtual bool IsValidName(
String^ name,
[OutAttribute] String^% error
) override
abstract IsValidName :
name:string *
error:string byref -> bool
override IsValidName :
name:string *
error:string byref -> bool
public override function IsValidName(
name : String,
error : String
) : boolean
参数
- name
类型:System.String
The name of the collection.
- error
类型:System.String%
The error occurs when validating.
返回值
类型:System.Boolean
true if the name of the collection is valid; otherwise, false.