NamedComponentCollection.IsValidName Method (String, Type, String)
Applies To: SQL Server (starting with 2016)
Determines whether the named component collection name is valid.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
protected bool IsValidName(
string name,
Type type,
out string error
)
protected:
bool IsValidName(
String^ name,
Type^ type,
[OutAttribute] String^% error
)
member IsValidName :
name:string *
type:Type *
error:string byref -> bool
Protected Function IsValidName (
name As String,
type As Type,
<OutAttribute> ByRef error As String
) As Boolean
Parameters
name
Type: System.StringThe name.
type
Type: System.TypeThe type.
error
Type: System.StringThe error.
Return Value
Type: System.Boolean
true if the named component collection name is valid; otherwise, false.
See Also
IsValidName Overload
NamedComponentCollection Class
Microsoft.AnalysisServices Namespace
Return to top