Partager via


Propriété Parent

Gets or sets the PartitionScheme object that is the parent of the PartitionSchemeParameter object.

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

Syntaxe

'Déclaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
<SfcParentAttribute("Table")> _
<SfcParentAttribute("Index")> _
Public Property Parent As SqlSmoObject
    Get
    Set
'Utilisation
Dim instance As PartitionSchemeParameter
Dim value As SqlSmoObject

value = instance.Parent

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Smo. . :: . .SqlSmoObject
The PartitionScheme object that is the parent of the PartitionSchemeParameter object.