DelegateGetSQLServerByID Delegado

Definición

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.

Se aplica a