MiningStructureCollection.CanAdd Method (ModelComponent, String)
Applies To: SQL Server 2016 Preview
Indicates whether the collection can add a MiningStructure.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
public override bool CanAdd(
ModelComponent item,
out string error
)
public:
virtual bool CanAdd(
ModelComponent^ item,
[OutAttribute] String^% error
) override
override CanAdd :
item:ModelComponent *
error:string byref -> bool
Public Overrides Function CanAdd (
item As ModelComponent,
<OutAttribute> ByRef error As String
) As Boolean
Parameters
item
Type: Microsoft.AnalysisServices.ModelComponentThe MiningStructure to add.
error
Type: System.StringThe error that will occur if the collection can’t add a MiningStructure.
Return Value
Type: System.Boolean
true if the collection can add a MiningStructure; otherwise, false.
See Also
MiningStructureCollection Class
Microsoft.AnalysisServices Namespace
Return to top