DelegateGetSQLServerByID Delegado
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Obtiene el servidor SQL Server por identificador de instancia.
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
Valor de tipo String que representa el nombre de host.
- pInstanceID
- INST_ID
Puntero al identificador de la instancia pertinente.
- sSQLServer
- StringBuilder
El SQL Server.
- pdwSize
- UInt32
Devuelve la longitud requerida si el búfer proporcionado es demasiado pequeño.
Valor devuelto
Un Boolean valor contiene el servidor SQL Server por identificador de instancia.