DelegateGetSQLServerByName 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 a value whether the SQL Server is set ny instance name.
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
Parameters
- sHostName
- String
The name of the host.
- sInstanceName
- String
The instance name.
- sSQLServer
- StringBuilder
The string of characters in the SQL Server.
- pdwSize
- UInt32
The estimated size of the structure returned, in bytes.
Return Value
true
if the SQL Server is set ny instance name; otherwise, false
.