DelegateGetSQLServerByName Delegato

Definizione

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

pdwSize
UInt32

Dimensione stimata della struttura restituita, in byte.

Valore restituito

truese il SQL Server è impostato il nome dell'istanza di ny; in caso contrario, false.

Si applica a