Metoda Util.DbTypeToClrType
Używa polecenia, które włącza typu DB na typ Clr.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)
Składnia
'Deklaracja
Public Shared Function DbTypeToClrType ( _
strDBType As String _
) As String
'Użycie
Dim strDBType As String
Dim returnValue As String
returnValue = Util.DbTypeToClrType(strDBType)
public static string DbTypeToClrType(
string strDBType
)
public:
static String^ DbTypeToClrType(
String^ strDBType
)
static member DbTypeToClrType :
strDBType:string -> string
public static function DbTypeToClrType(
strDBType : String
) : String
Parametry
- strDBType
Typ: System.String
Wartość ciąg dla typu DB.
Wartość zwracana
Typ: System.String
Zwraca polecenia, które włącza DBtype do ClrType.