DelegateGetSQLServerByName Delegar

Definição

Obtém um valor se o SQL Server está definido como o nome da instância 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 

Parâmetros

sHostName
String

O nome do host.

sInstanceName
String

O nome de instância.

sSQLServer
StringBuilder

A cadeia de caracteres no SQL Server.

pdwSize
UInt32

O tamanho estimado da estrutura retornada, em bytes.

Valor Retornado

Boolean

trueSe o SQL Server for definido como NY Instance Name; caso contrário, false .

Aplica-se a