IVsSQLCLRReferencesUpdateCallback.UpdateResult Method

Definition

Reports the result of updating an assembly.

public:
 int UpdateResult(System::String ^ szAssembly, System::UInt32 dwPermisionLevel, int hrUpdateResult, Microsoft::VisualStudio::Shell::Interop::IErrorInfo ^ pErrorInfo, System::UInt32 updateAction);
public:
 int UpdateResult(Platform::String ^ szAssembly, unsigned int dwPermisionLevel, int hrUpdateResult, Microsoft::VisualStudio::Shell::Interop::IErrorInfo ^ pErrorInfo, unsigned int updateAction);
int UpdateResult(std::wstring const & szAssembly, unsigned int dwPermisionLevel, int hrUpdateResult, Microsoft::VisualStudio::Shell::Interop::IErrorInfo const & pErrorInfo, unsigned int updateAction);
public int UpdateResult (string szAssembly, uint dwPermisionLevel, int hrUpdateResult, Microsoft.VisualStudio.Shell.Interop.IErrorInfo pErrorInfo, uint updateAction);
abstract member UpdateResult : string * uint32 * int * Microsoft.VisualStudio.Shell.Interop.IErrorInfo * uint32 -> int
Public Function UpdateResult (szAssembly As String, dwPermisionLevel As UInteger, hrUpdateResult As Integer, pErrorInfo As IErrorInfo, updateAction As UInteger) As Integer

Parameters

szAssembly
String

[in] String containing the name of the assembly updated.

dwPermisionLevel
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
Int32

[in] The HRESULT returned by the update operation.

pErrorInfo
IErrorInfo

[in] Pointer to an IErrorInfo interface reporting any error information.

updateAction
UInt32

[in] Integer—the action taken. A value from the _SqlReferenceUpdateAction enumeration.

Returns

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

Applies to