DelegateGetSQLServerByID Delegato
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Ottiene SQL Server dall'identificatore dell'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
Valore String che rappresenta il nome host.
- pInstanceID
- INST_ID
Puntatore all'ID dell'istanza specifica.
- sSQLServer
- StringBuilder
SQL Server.
- pdwSize
- UInt32
Restituisce la lunghezza obbligatoria se il buffer fornito è troppo piccolo.
Valore restituito
Un Boolean valore contiene l'identificatore di istanza di SQL Server.