DelegateGetSvcBinPathByInstName 代理人

定義

指定したインスタンスの表示名によって、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

インスタンス名を表す String 値。

Service
SQL_SVCS

SQL サービス。

sPath
StringBuilder

パスを受け取るバッファーを指すポインター。

pdwSize
UInt32

指定したバッファーが小さすぎる場合は、必要な長さを返します。

戻り値

Boolean値には、指定されたフレンドリ インスタンス名によるSQL Server サービスのプログラム ファイル ルート ディレクトリが含まれます。

適用対象