Oharra
Baimena behar duzu orria atzitzeko. Direktorioetan saioa has dezakezu edo haiek alda ditzakezu.
Baimena behar duzu orria atzitzeko. Direktorioak alda ditzakezu.
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Indicates whether the collection can add a ModelComponent.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Overridable Function CanAdd ( _
item As ModelComponent, _
<OutAttribute> ByRef error As String _
) As Boolean
'Uso
Dim instance As ModelComponentCollection
Dim item As ModelComponent
Dim error As String
Dim returnValue As Boolean
returnValue = instance.CanAdd(item, error)
public virtual bool CanAdd(
ModelComponent item,
out string error
)
public:
virtual bool CanAdd(
ModelComponent^ item,
[OutAttribute] String^% error
)
abstract CanAdd :
item:ModelComponent *
error:string byref -> bool
override CanAdd :
item:ModelComponent *
error:string byref -> bool
public function CanAdd(
item : ModelComponent,
error : String
) : boolean
Parámetros
- item
Tipo: Microsoft.AnalysisServices.ModelComponent
The item to add.
- error
Tipo: System.String%
The error that will occur if the collection can’t add a ModelComponent.
Valor devuelto
Tipo: System.Boolean
true if the collection can add a ModelComponent; otherwise, false.