共用方式為


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.ReadOnlyAfterCreation)> _
Public Property ProviderName As String
    Get
    Set
'用途
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)

屬性值

型別:System. . :: . .String
A String value that specifies the OLE DB provider.