共用方式為


NumberedStoredProcedureParameter.Parent 屬性

Gets the NumberedStoredProcedure object that is the parent of the NumberedStoredProcedureParameter object.

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

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As NumberedStoredProcedure 
    Get 
    Set
'用途
Dim instance As NumberedStoredProcedureParameter 
Dim value As NumberedStoredProcedure 

value = instance.Parent

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.NumberedStoredProcedure
A NumberedStoredProcedure object that is the parent of the NumberedStoredProcedureParameter object.

範例

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

請參閱

參考

NumberedStoredProcedureParameter 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

ALTER PROCEDURE (Transact-SQL)