NamedComponentCollection.IsValidID Method (String, 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
public virtual bool IsValidID(
string id,
out string error
)
public:
virtual bool IsValidID(
String^ id,
[OutAttribute] String^% error
)
abstract IsValidID :
id:string *
error:string byref -> bool
override IsValidID :
id:string *
error:string byref -> bool
Public Overridable Function IsValidID (
id As String,
<OutAttribute> ByRef error As String
) As Boolean
Parameters
id
Type: System.StringThe identifier.
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