Udostępnij za pośrednictwem


Metoda GetSqlCeToolsPath

Zwraca najwyższą wersja narzędzia SQLCE zainstalowane za pomocą zarządzanych typu RegistryKey. Nie należy odwoływać się do tego elementu członkowskiego bezpośrednio w kodzie. Obsługuje on infrastrukturę programu SQL Server.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Sdk.Sfc
Zestaw:  Microsoft.SqlServer.Management.Sdk.Sfc (w Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Deklaracja
Public Shared Function GetSqlCeToolsPath As String
'Użycie
Dim returnValue As String

returnValue = SfcUtility.GetSqlCeToolsPath()
public static string GetSqlCeToolsPath()
public:
static String^ GetSqlCeToolsPath()
static member GetSqlCeToolsPath : unit -> string 
public static function GetSqlCeToolsPath() : String

Wartość zwracana

Typ: System. . :: . .String
Najwyższy wersja zainstalowane narzędzia SQLCE.