DelegateGetSQLServerByID Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the SQL server by instance identifier.
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
Parameters
- sHostName
- String
A String valu that represents the host name.
- pInstanceID
- INST_ID
A pointer to the instance ID of the relevant instance.
- sSQLServer
- StringBuilder
The SQL Server.
- pdwSize
- UInt32
Returns the required length if the supplied buffer is too small.
Return Value
A Boolean value contains the SQL server by instance identifier.