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
'宣告
Function UpdateResult ( _
szAssembly As String, _
dwPermisionLevel As UInteger, _
hrUpdateResult As Integer, _
pErrorInfo As IErrorInfo, _
updateAction As UInteger _
) As Integer
'用途
Dim instance As IVsSQLCLRReferencesUpdateCallback
Dim szAssembly As String
Dim dwPermisionLevel As UInteger
Dim hrUpdateResult As Integer
Dim pErrorInfo As IErrorInfo
Dim updateAction As UInteger
Dim returnValue As Integer
returnValue = instance.UpdateResult(szAssembly, _
dwPermisionLevel, hrUpdateResult, _
pErrorInfo, updateAction)
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.
- 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.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.
See Also
Reference
IVsSQLCLRReferencesUpdateCallback Interface