Partager via


IVsBuildManagerAccessor2.GetCurrentBatchBuildId Method

Returns the current batch build ID, or 0 if there is no batch build going on.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function GetCurrentBatchBuildId ( _
    <OutAttribute> ByRef pBatchId As UInteger _
) As Integer
int GetCurrentBatchBuildId(
    out uint pBatchId
)
int GetCurrentBatchBuildId(
    [OutAttribute] unsigned int% pBatchId
)
abstract GetCurrentBatchBuildId : 
        pBatchId:uint32 byref -> int
function GetCurrentBatchBuildId(
    pBatchId : uint
) : int

Parameters

  • pBatchId
    Type: UInt32%

    [out] The batch ID.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsBuildManagerAccessor2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace