DelegateGetSQLServerByID Delegar
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.
Obtém o SQL Server pelo identificador da instância.
public delegate bool DelegateGetSQLServerByID(System::String ^ sHostName, INST_ID ^ pInstanceID, StringBuilder ^ sSQLServer, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLServerByID(string sHostName, INST_ID pInstanceID, StringBuilder sSQLServer, out uint pdwSize);
type DelegateGetSQLServerByID = delegate of string * INST_ID * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLServerByID(sHostName As String, pInstanceID As INST_ID, sSQLServer As StringBuilder, ByRef pdwSize As UInteger) As Boolean
Parâmetros
- sHostName
- String
Uma cadeia de caracteres valo que representa o nome do host.
- pInstanceID
- INST_ID
Um ponteiro para a ID da instância pertinente.
- sSQLServer
- StringBuilder
O SQL Server.
- pdwSize
- UInt32
Retornará o comprimento exigido se o buffer fornecido for muito pequeno.
Valor Retornado
Um Boolean valor contém o SQL Server por identificador de instância.