NamedComponentCollection.CanAdd Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Indicates whether the collection can add a ModelComponent.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

C#
public override bool CanAdd(
    ModelComponent item,
    out string error
)

Parameters

Return Value

Type: System.Boolean
The error that will occur if the collection can’t add a ModelComponent.

See Also

Reference

NamedComponentCollection Class

Microsoft.AnalysisServices Namespace