Dela via


StoredProcedureParameter.Parent Property

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

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

Syntax

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

Property Value

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