Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Can this connection builder accept the given elements as its connection source and targets.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaration
Public Shared Function CanAcceptSourceAndTarget ( _
sourceElement As ModelElement, _
targetElement As ModelElement _
) As Boolean
public static bool CanAcceptSourceAndTarget(
ModelElement sourceElement,
ModelElement targetElement
)
public:
static bool CanAcceptSourceAndTarget(
ModelElement^ sourceElement,
ModelElement^ targetElement
)
static member CanAcceptSourceAndTarget :
sourceElement:ModelElement *
targetElement:ModelElement -> bool
public static function CanAcceptSourceAndTarget(
sourceElement : ModelElement,
targetElement : ModelElement
) : boolean
Parameters
- sourceElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
- targetElement
Type: Microsoft.VisualStudio.Modeling.ModelElement
Return Value
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.