DelegateGetSQLServerByID Delegato

Definizione

Ottiene il server SQL tramite identificatore di istanza.

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 

Parametri

sHostName
String

Un valore String che rappresenta il nome host.

pInstanceID
INST_ID

Un puntatore all'ID dell'istanza dell'istanza rilevante.

sSQLServer
StringBuilder

Il SQL Server.

pdwSize
UInt32

Restituisce la lunghezza richiesta se il buffer fornito è troppo piccolo.

Valore restituito

Un Boolean valore contiene il server SQL per identificatore di istanza.

Si applica a