IVsSQLCLRReferencesUpdateCallback::UpdateResult Method (String^, UInt32, Int32, IErrorInfo^, UInt32)
Visual Studio 2015
Reports the result of updating an assembly.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int UpdateResult( String^ szAssembly, unsigned int dwPermisionLevel, int hrUpdateResult, IErrorInfo^ pErrorInfo, unsigned int updateAction )
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.
- pErrorInfo
-
Type:
Microsoft.VisualStudio.Shell.Interop::IErrorInfo^
[in] Pointer to an IErrorInfo interface reporting any error information.
- updateAction
-
Type:
System::UInt32
[in] Integer—the action taken. A value from the _SqlReferenceUpdateAction enumeration.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: