DelegateGetSQLServerByName Delegato

Definizione

Ottiene un valore che indica se il SQL Server è impostato sul nome dell'istanza 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 

Parametri

sHostName
String

Nome dell'host.

sInstanceName
String

Nome dell'istanza.

sSQLServer
StringBuilder

Stringa di caratteri nell'SQL Server.

pdwSize
UInt32

Dimensioni stimate della struttura restituita, in byte.

Valore restituito

Boolean

trueSe il SQL Server è impostato sul nome dell'istanza NY; in caso contrario, false .

Si applica a