NamedComponentCollection.IsValidID Method (String, Type, String)
Applies To: SQL Server (starting with 2016)
Determines whether the named component collection identifier is valid.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
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 As String,
type As Type,
<OutAttribute> ByRef error As String
) As Boolean
Parameters
id
Type: System.StringThe identifier.
type
Type: System.TypeThe type.
error
Type: System.StringThe error.
Return Value
Type: System.Boolean
true if the named component collection identifier is valid; otherwise, false.
See Also
IsValidID Overload
NamedComponentCollection Class
Microsoft.AnalysisServices Namespace
Return to top