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: String[in] String containing the name of the assembly updated.
dwPermisionLevel
Type: 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: 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: UInt32[in] Integer—the action taken. A value from the _SqlReferenceUpdateAction enumeration.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.