IVsSQLCLRReferences.UpdateReferences(Object, Object, UInt32, UInt32, String[], String, UInt32, IVsSQLCLRReferencesUpdateCallback) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Use para sincronizar o cache local e o servidor.
public:
int UpdateReferences(System::Object ^ pConnection, System::Object ^ pAssemblySupport, System::UInt32 dwReferenceUpdateFlags, System::UInt32 cAssemblyCount, cli::array <System::String ^> ^ rgszAssemblies, System::String ^ szLocalCache, System::UInt32 dwProjectPermisionLevel, Microsoft::VisualStudio::Shell::Interop::IVsSQLCLRReferencesUpdateCallback ^ pCallBack);
public:
int UpdateReferences(Platform::Object ^ pConnection, Platform::Object ^ pAssemblySupport, unsigned int dwReferenceUpdateFlags, unsigned int cAssemblyCount, Platform::Array <Platform::String ^> ^ rgszAssemblies, Platform::String ^ szLocalCache, unsigned int dwProjectPermisionLevel, Microsoft::VisualStudio::Shell::Interop::IVsSQLCLRReferencesUpdateCallback ^ pCallBack);
int UpdateReferences(winrt::Windows::Foundation::IInspectable const & pConnection, winrt::Windows::Foundation::IInspectable const & pAssemblySupport, unsigned int dwReferenceUpdateFlags, unsigned int cAssemblyCount, std::Array <std::wstring const &> const & rgszAssemblies, std::wstring const & szLocalCache, unsigned int dwProjectPermisionLevel, Microsoft::VisualStudio::Shell::Interop::IVsSQLCLRReferencesUpdateCallback const & pCallBack);
public int UpdateReferences (object pConnection, object pAssemblySupport, uint dwReferenceUpdateFlags, uint cAssemblyCount, string[] rgszAssemblies, string szLocalCache, uint dwProjectPermisionLevel, Microsoft.VisualStudio.Shell.Interop.IVsSQLCLRReferencesUpdateCallback pCallBack);
abstract member UpdateReferences : obj * obj * uint32 * uint32 * string[] * string * uint32 * Microsoft.VisualStudio.Shell.Interop.IVsSQLCLRReferencesUpdateCallback -> int
Public Function UpdateReferences (pConnection As Object, pAssemblySupport As Object, dwReferenceUpdateFlags As UInteger, cAssemblyCount As UInteger, rgszAssemblies As String(), szLocalCache As String, dwProjectPermisionLevel As UInteger, pCallBack As IVsSQLCLRReferencesUpdateCallback) As Integer
Parâmetros
- pConnection
- Object
no Ponteiro para a IUnknown interface do objeto de conexão.
- pAssemblySupport
- Object
no Ponteiro para a IUnknown interface do assembly.
- dwReferenceUpdateFlags
- UInt32
no Valores. Sinalizadores que especificam opções de atualização. Obtido da _SqlReferenceUpdateFlags enumeração.
- cAssemblyCount
- UInt32
no Valores. O número de nomes de assembly no rgszAssemblies .
- rgszAssemblies
- String[]
no Matriz de cadeias de caracteres que contém os nomes dos assemblies a serem atualizados.
- szLocalCache
- String
no Cadeia de caracteres que contém o caminho para um arquivo a ser usado para um cache.
- dwProjectPermisionLevel
- UInt32
no Inteiro que contém um valor da enumeração de __SQL_ASSEMBLY_PERMISSION_SET. Indica o nível de permissão no assembly: SQLAP_SAFE (1), SQLAP_EXTERNAL (2) ou SQLAP_UNRESTRICTED (3).
- pCallBack
- IVsSQLCLRReferencesUpdateCallback
no Ponteiro para uma IVsSQLCLRReferencesUpdateCallback interface a ser usada para retornos de chamada.
Retornos
Se o método for bem-sucedido, retornará S_OK. Se falhar, retornará um código de erro.