Поделиться через


Свойство ProviderName

Gets or sets the name of the OLE DB provider used to connect to the linked server.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone)> _
Public Property ProviderName As String
    Get
    Set
'Применение
Dim instance As LinkedServer
Dim value As String

value = instance.ProviderName

instance.ProviderName = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)]
public string ProviderName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone)]
public:
property String^ ProviderName {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone)>]
member ProviderName : string with get, set
function get ProviderName () : String
function set ProviderName (value : String)

Значение свойства

Тип: System. . :: . .String
A String value that specifies the OLE DB provider.