DelegateGetSQLServerByName Delegado

Definición

Obtiene un valor si el SQL Server se establece el nombre de instancia ny.

public delegate bool DelegateGetSQLServerByName(System::String ^ sHostName, System::String ^ sInstanceName, StringBuilder ^ sSQLServer, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLServerByName(string sHostName, string sInstanceName, StringBuilder sSQLServer, out uint pdwSize);
type DelegateGetSQLServerByName = delegate of string * string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLServerByName(sHostName As String, sInstanceName As String, sSQLServer As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

Parámetros

sHostName
String

El nombre del host.

sInstanceName
String

Nombre de instancia.

sSQLServer
StringBuilder

Cadena de caracteres del SQL Server.

pdwSize
UInt32

Tamaño estimado de la estructura devuelta, en bytes.

Valor devuelto

truees si el SQL Server se establece el nombre de instancia ny; en caso contrario, falsees .

Se aplica a