共用方式為


StoredProcedureParameter.Parent 屬性

Gets the StoredProcedure object that is the parent of the StoredProcedureParameter object.

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

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)> _
Public Property Parent As StoredProcedure 
    Get 
    Set
'用途
Dim instance As StoredProcedureParameter 
Dim value As StoredProcedure 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)]
public StoredProcedure Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectFlags::Design)]
public:
property StoredProcedure^ Parent {
    StoredProcedure^ get ();
    void set (StoredProcedure^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)>]
member Parent : StoredProcedure with get, set
function get Parent () : StoredProcedure 
function set Parent (value : StoredProcedure)

屬性值

型別:Microsoft.SqlServer.Management.Smo.StoredProcedure
A StoredProcedure object that is the parent of the StoredProcedureParameter object.

範例

建立、改變和移除預存程序

請參閱

參考

StoredProcedureParameter 類別

Microsoft.SqlServer.Management.Smo 命名空間