DelegateGetSvcBinPathByInstName 代理人
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以友善實例名稱表示 SQL Server 服務的程式檔案根目錄。
public delegate bool DelegateGetSvcBinPathByInstName(System::String ^ sInstanceName, SQL_SVCS Service, StringBuilder ^ sPath, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetSvcBinPathByInstName(string sInstanceName, SQL_SVCS Service, StringBuilder sPath, out uint pdwSize);
type DelegateGetSvcBinPathByInstName = delegate of string * SQL_SVCS * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetSvcBinPathByInstName(sInstanceName As String, Service As SQL_SVCS, sPath As StringBuilder, ByRef pdwSize As UInteger) As Boolean
參數
- sInstanceName
- String
一個代表實例名稱的字串值。
- Service
- SQL_SVCS
SQL 服務。
- sPath
- StringBuilder
一個指向緩衝區的指標,用來接收路徑。
- pdwSize
- UInt32
若緩衝區太小,則回傳所需長度。
傳回值
一個Boolean值會以友善的實例名稱包含 SQL Server 服務的程式檔案根目錄。