Gets the name of transaction used to create a connection.
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
声明
Public Overridable Function GetConnectTransactionName ( _
    sourceShape As ShapeElement, _
    targetShape As ShapeElement _
) As String
public virtual string GetConnectTransactionName(
    ShapeElement sourceShape,
    ShapeElement targetShape
)
public:
virtual String^ GetConnectTransactionName(
    ShapeElement^ sourceShape, 
    ShapeElement^ targetShape
)
abstract GetConnectTransactionName : 
        sourceShape:ShapeElement * 
        targetShape:ShapeElement -> string 
override GetConnectTransactionName : 
        sourceShape:ShapeElement * 
        targetShape:ShapeElement -> string 
public function GetConnectTransactionName(
    sourceShape : ShapeElement, 
    targetShape : ShapeElement
) : String
Parameters
- sourceShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement 
- targetShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement 
Return Value
Type: System.String
.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.