共用方式為


NumberedStoredProcedure.Parent 屬性

Gets or sets the Database object that is the parent of the NumberedStoredProcedure object.

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

語法

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

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.StoredProcedure
A Database object value that specifies the parent of the NumberedStoredProcedure object.

範例

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

請參閱

參考

NumberedStoredProcedure 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE PROCEDURE (Transact-SQL)