Share via


Propriété Parent

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

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

Valeur de propriété

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