DatabaseTaskHost.StopAsyncModelBuilding Method (Int32)
Stops the occurrence of async model building until AsyncModelBuildingBlocker.Dispose is called.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Friend Function StopAsyncModelBuilding ( _
timeoutSpanInSeconds As Integer _
) As DatabaseTaskHost..::..AsyncModelBuildingBlocker
protected internal DatabaseTaskHost..::..AsyncModelBuildingBlocker StopAsyncModelBuilding(
int timeoutSpanInSeconds
)
protected public:
DatabaseTaskHost..::..AsyncModelBuildingBlocker^ StopAsyncModelBuilding(
int timeoutSpanInSeconds
)
member StopAsyncModelBuilding :
timeoutSpanInSeconds:int -> DatabaseTaskHost..::..AsyncModelBuildingBlocker
function StopAsyncModelBuilding(
timeoutSpanInSeconds : int
) : DatabaseTaskHost..::..AsyncModelBuildingBlocker
Parameters
- timeoutSpanInSeconds
Type: System.Int32
The time-out period, in seconds. By default, the time-out is infinite.
Return Value
Type: Microsoft.Data.Schema.Build.DatabaseTaskHost.AsyncModelBuildingBlocker
A blocker is returned which, when disposed, will re-enable model building.
Remarks
If model building is running, this call will block until it returns.
.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.