共用方式為


IVsDeployableProjectCfg.QueryStatusDeploy Method

Determines whether or not a deployment operation has completed successfully.

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

Syntax

'宣告
Function QueryStatusDeploy ( _
    <OutAttribute> ByRef pfDeployDone As Integer _
) As Integer
'用途
Dim instance As IVsDeployableProjectCfg
Dim pfDeployDone As Integer
Dim returnValue As Integer

returnValue = instance.QueryStatusDeploy(pfDeployDone)
int QueryStatusDeploy(
    out int pfDeployDone
)
int QueryStatusDeploy(
    [OutAttribute] int% pfDeployDone
)
abstract QueryStatusDeploy : 
        pfDeployDone:int byref -> int 
function QueryStatusDeploy(
    pfDeployDone : int
) : int

Parameters

  • pfDeployDone
    Type: System.Int32%
    [out] Flag that is set to true if the deployment operation was successful and false if it was not successful.

Return Value

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsDeployableProjectCfg::QueryStatusDeploy(
   [out] BOOL *pfDeployDone
);

.NET Framework Security

See Also

Reference

IVsDeployableProjectCfg Interface

IVsDeployableProjectCfg Members

Microsoft.VisualStudio.Shell.Interop Namespace