IVsSQLCLRReferencesUpdateCallback.UpdateResult(String, UInt32, Int32, IErrorInfo, UInt32) Methode

Definition

Meldet das Ergebnis beim Aktualisieren einer 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

Parameter

szAssembly
String

[in] Zeichenfolge mit dem Namen der aktualisierten Assembly.

dwPermisionLevel
UInt32

[in] Ganze Zahl, die einen Wert aus der __SQL_ASSEMBLY_PERMISSION_SET-Enumeration enthält. Gibt die Berechtigungsstufe auf der Assembly an: SQLAP_SAFE (1), SQLAP_EXTERNAL (2) oder SQLAP_UNRESTRICTED (3).

hrUpdateResult
Int32

[in] Das HRESULT, das vom Aktualisierungsvorgang zurückgegeben wird.

pErrorInfo
IErrorInfo

[in] Zeiger auf eine IErrorInfo-Schnittstelle, die alle Fehlerinformationen meldet.

updateAction
UInt32

[in] Ganze Zahl - die ausgeführte Aktion. Ein Wert aus der _SqlReferenceUpdateAction-Enumeration.

Gibt zurück

Int32

Wenn die Methode erfolgreich ist, wird S_OK zurückgegeben. Bei einem Fehler wird ein Fehlercode zurückgegeben.

Gilt für