MeasureCollection.IsValidName Method (String, String%)
Gets a value indicating whether the specified name is valid.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Overrides Function IsValidName ( _
name As String, _
<OutAttribute> ByRef error As String _
) As Boolean
'Usage
Dim instance As MeasureCollection
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
Parameters
- name
Type: System.String
The name to validate.
- error
Type: System.String%
The validation error.
Return Value
Type: System.Boolean
True if the name is valid; otherwise, false.