UnityDbConnectionStringCleanerCleanConnectionAsync - метод
Очищает строку подключения к базе данных от небезопасных данных.
Пространство имён: Tessa.Platform.DataСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask<string> CleanConnectionAsync(
Dbms dbms,
string connectionString,
CancellationToken cancellationToken = default
)
Public Function CleanConnectionAsync (
dbms As Dbms,
connectionString As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of String)
public:
virtual ValueTask<String^> CleanConnectionAsync(
Dbms dbms,
String^ connectionString,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract CleanConnectionAsync :
dbms : Dbms *
connectionString : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<string>
override CleanConnectionAsync :
dbms : Dbms *
connectionString : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<string>
- dbms Dbms
- Тип СУБД.
- connectionString String
- Исходная строка подключения.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskStringСтрока подключения после очистки.
IDbConnectionStringCleanerCleanConnectionAsync(Dbms, String, CancellationToken)