LinkedServer.ProviderName Property
Gets or sets the name of the OLE DB provider used to connect to the linked server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property ProviderName As String
Get
Set
'Usage
Dim instance As LinkedServer
Dim value As String
value = instance.ProviderName
instance.ProviderName = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public string ProviderName { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property String^ ProviderName {
String^ get ();
void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member ProviderName : string with get, set
function get ProviderName () : String
function set ProviderName (value : String)
Property Value
Type: System.String
A String value that specifies the OLE DB provider.
See Also