Metoda ConnectionType.GetConnectTransactionName —
Pobiera nazwę transakcji użytej do utworzenia połączenia.
Przestrzeń nazw: Microsoft.VisualStudio.Modeling.Diagrams
Zestaw: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Składnia
'Deklaracja
Public Overridable Function GetConnectTransactionName ( _
sourceShape As ShapeElement, _
targetShape As ShapeElement _
) As String
public virtual string GetConnectTransactionName(
ShapeElement sourceShape,
ShapeElement targetShape
)
Parametry
- sourceShape
Typ: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
- targetShape
Typ: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Wartość zwracana
Typ: System.String
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..