Partilhar via


NamedComponentCollection.CanAdd Method

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

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

Syntax

'Declaration
Public Overrides Function CanAdd ( _
    item As ModelComponent, _
    <OutAttribute> ByRef error As String _
) As Boolean
public override bool CanAdd (
    ModelComponent item,
    out string error
)
public:
virtual bool CanAdd (
    ModelComponent^ item, 
    [OutAttribute] String^% error
) override
public boolean CanAdd (
    ModelComponent item, 
    /** @attribute OutAttribute() */ /** @ref */ String error
)
JScript does not support passing value-type arguments by reference.

Parameters

  • item
     
  • error
     

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

NamedComponentCollection Class
NamedComponentCollection Members
Microsoft.AnalysisServices Namespace