共用方式為


OleDbProviderSettings.Parent 屬性

Gets the Settings object that is the parent of the OleDbProviderSettings object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Settings 
    Get
'用途
Dim instance As OleDbProviderSettings 
Dim value As Settings 

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Settings Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Settings^ Parent {
    Settings^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Settings
function get Parent () : Settings

屬性值

型別:Microsoft.SqlServer.Management.Smo.Settings
A Settings object that is the parent of the OleDbProviderSettings object.

範例

在 SMO 中使用連結的伺服器

請參閱

參考

OleDbProviderSettings 類別

Microsoft.SqlServer.Management.Smo 命名空間