DelegateGetSQLServiceByName Delegar
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Representa o serviço SQL por nome de instância.
public delegate bool DelegateGetSQLServiceByName(System::String ^ sInstanceName, SQL_SVCS Service, StringBuilder ^ sServiceName, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSQLServiceByName(string sInstanceName, SQL_SVCS Service, StringBuilder sServiceName, out uint pdwSize);
type DelegateGetSQLServiceByName = delegate of string * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSQLServiceByName(sInstanceName As String, Service As SQL_SVCS, sServiceName As StringBuilder, ByRef pdwSize As UInteger) As Boolean
Parâmetros
- sInstanceName
- String
Um valor de cadeia de caracteres que representa o nome da instância.
- Service
- SQL_SVCS
O serviço SQL.
- sServiceName
- StringBuilder
O nome do serviço SQL.
- pdwSize
- UInt32
Um ponteiro para um valor DWORD para fornecimento do comprimento do buffer. Retornará o comprimento exigido se o buffer fornecido for muito pequeno.
Valor Retornado
Um Boolean valor contém o serviço SQL pelo nome da instância.