ScriptFactory.CheckAndCancelRunningQueries 메서드

Used to ensure that there are no queries left running. For every running query, user will be prompted whether to cancel it.

네임스페이스:  Microsoft.SqlServer.Management.UI.VSIntegration.Editors
어셈블리:  SQLEditors(SQLEditors.dll)

public bool CheckAndCancelRunningQueries()

반환 값

유형: System.Boolean
A Boolean value that is True if all running queries have been cancelled, False if user declined to cancel at least one query.

커뮤니티 추가 항목