Share via


NumberedStoredProcedure.Parent Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As StoredProcedure
    Get
    Friend Set
'Usage
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)

Property Value

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