DelegateGetSQLServerByName 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得 SQL Server 是否設定 n 實例名稱的值。
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
參數
- sHostName
- String
主機的名稱。
- sInstanceName
- String
執行個體名稱。
- sSQLServer
- StringBuilder
SQL Server 中的字串。
- pdwSize
- UInt32
回傳結構的估計大小,以位元組為單位。
傳回值
true若 SQL Server 設定為 ny 實例名稱;否則,。 false