DBProviderInfo.ProviderSubType Özelliği
Bir verir DTSProviderSubType Numaralandırma açıklayan sağlayıcı türü.Bu alan salt okunur durumdadır.
Ad Alanı: Microsoft.SqlServer.Dts.Runtime
Derleme: Microsoft.SqlServer.ManagedDTS (Microsoft.SqlServer.ManagedDTS içinde.dll)
Sözdizimi
'Bildirim
Public ReadOnly Property ProviderSubType As DTSProviderSubType
Get
'Kullanım
Dim instance As DBProviderInfo
Dim value As DTSProviderSubType
value = instance.ProviderSubType
public DTSProviderSubType ProviderSubType { get; }
public:
property DTSProviderSubType ProviderSubType {
DTSProviderSubType get ();
}
member ProviderSubType : DTSProviderSubType
function get ProviderSubType () : DTSProviderSubType
Özellik Değeri
Tür: Microsoft.SqlServer.Dts.Runtime.DTSProviderSubType
Arasında bir değer DTSProviderSubType numaralandırma.
Örnekler
Aşağıdaki örnek bilgisayarda kullanılabilir veritabanı sağlayıcıları özellikleri numaralandırır.
namespace dbproviderinfo
{
class Program
{
static void Main(string[] args)
{
Application app = new Application();
DBProviderInfos dbis = app.DBProviderInfos;
foreach (DBProviderInfo dbi in dbis)
{
Console.WriteLine("Description = {0}, Name = {1}, ParseName = {2}", dbi.Description, dbi.Name, dbi.ParseName);
Console.WriteLine("ProviderSubType ={0}, ProviderType = {1}", dbi.ProviderSubType, dbi.ProviderType);
Console.WriteLine("SupportsNullColumns = {0}, UseFullTableName = {1}", dbi.SupportsNullColumns, dbi.UseFullTableName);
}
}
}
}
Namespace dbproviderinfo
Class Program
Shared Sub Main(ByVal args() As String)
Dim app As Application = New Application()
Dim dbis As DBProviderInfos = app.DBProviderInfos
Dim dbi As DBProviderInfo
For Each dbi In dbis
Console.WriteLine("Description = {0}, Name = {1}, ParseName = {2}", dbi.Description, dbi.Name, dbi.ParseName)
Console.WriteLine("ProviderSubType ={0}, ProviderType = {1}", dbi.ProviderSubType, dbi.ProviderType)
Console.WriteLine("SupportsNullColumns = {0}, UseFullTableName = {1}", dbi.SupportsNullColumns, dbi.UseFullTableName)
Next
End Sub
End Class
End Namespace
Örnek Çıktı:
Açıklama = MediaCatalogDB ole db sağlayıcısı adı MediaCatalogDB ole db sağlayıcısı ParseName = {09E767A6-4481-4791-86A5-A739E5290E4C} =
ProviderSubType = hiçbiri ProviderType OleDb =
SupportsNullColumns UseFullTableName = doğru = True
Açıklama adı sql Server için Microsoft ole db sağlayıcısı = sqloledb, ParseName = {0C7FF16C-38E3-11 d 0-97AB-00C04FC2AD98} =
ProviderSubType = SqlServer, ProviderType OleDb =
SupportsNullColumns UseFullTableName = doğru = True