DelegateGetSQLServerByName Delegato

Definizione

Ottiene un valore se il SQL Server è impostato nel nome dell'istanza.

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 

Parametri

sHostName
String

Nome dell'host.

sInstanceName
String

Nome dell'istanza.

sSQLServer
StringBuilder

La stringa di caratteri in SQL Server.

pdwSize
UInt32

La dimensione stimata della struttura è stata restituita, in byte.

Valore restituito

truese il SQL Server ha un nome di istanza impostato; altrimenti, false.

Si applica a