Поделиться через


IVsSQLCLRReferencesUpdateCallback.UpdateResult Method

Reports the result of updating an assembly.

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

Syntax

'Declaration
Function UpdateResult ( _
    szAssembly As String, _
    dwPermisionLevel As UInteger, _
    hrUpdateResult As Integer, _
    pErrorInfo As IErrorInfo, _
    updateAction As UInteger _
) As Integer
int UpdateResult(
    string szAssembly,
    uint dwPermisionLevel,
    int hrUpdateResult,
    IErrorInfo pErrorInfo,
    uint updateAction
)
int UpdateResult(
    [InAttribute] String^ szAssembly, 
    [InAttribute] unsigned int dwPermisionLevel, 
    [InAttribute] int hrUpdateResult, 
    [InAttribute] IErrorInfo^ pErrorInfo, 
    [InAttribute] unsigned int updateAction
)
abstract UpdateResult : 
        szAssembly:string * 
        dwPermisionLevel:uint32 * 
        hrUpdateResult:int * 
        pErrorInfo:IErrorInfo * 
        updateAction:uint32 -> int 
function UpdateResult(
    szAssembly : String, 
    dwPermisionLevel : uint, 
    hrUpdateResult : int, 
    pErrorInfo : IErrorInfo, 
    updateAction : uint
) : int

Parameters

  • szAssembly
    Type: System.String
    [in] String containing the name of the assembly updated.
  • dwPermisionLevel
    Type: System.UInt32
    [in] Integer containing a value from the __SQL_ASSEMBLY_PERMISSION_SET enumeration. Indicates the permission level on the assembly: SQLAP_SAFE (1), SQLAP_EXTERNAL (2), or SQLAP_UNRESTRICTED (3).
  • hrUpdateResult
    Type: System.Int32
    [in] The HRESULT returned by the update operation.

Return Value

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

.NET Framework Security

See Also

Reference

IVsSQLCLRReferencesUpdateCallback Interface

Microsoft.VisualStudio.Shell.Interop Namespace