Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Gets or sets the SqlSmoObject object that is the parent of the ExtendedProperty object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcParentAttribute("Table")> _
<SfcParentAttribute("UserDefinedFunction")> _
<SfcParentAttribute("NumberedStoredProcedureParameter")> _
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
<SfcParentAttribute("Database")> _
<SfcParentAttribute("SqlAssembly")> _
<SfcParentAttribute("UserDefinedAggregate")> _
<SfcParentAttribute("UserDefinedAggregateParameter")> _
<SfcParentAttribute("UserDefinedType")> _
<SfcParentAttribute("PlanGuide")> _
<SfcParentAttribute("User")> _
<SfcParentAttribute("Schema")> _
<SfcParentAttribute("DatabaseRole")> _
<SfcParentAttribute("ApplicationRole")> _
<SfcParentAttribute("Column")> _
<SfcParentAttribute("Trigger")> _
<SfcParentAttribute("Check")> _
<SfcParentAttribute("Index")> _
<SfcParentAttribute("ForeignKey")> _
<SfcParentAttribute("Default")> _
<SfcParentAttribute("Rule")> _
<SfcParentAttribute("Synonym")> _
<SfcParentAttribute("Sequence")> _
<SfcParentAttribute("StoredProcedure")> _
<SfcParentAttribute("StoredProcedureParameter")> _
<SfcParentAttribute("ExtendedStoredProcedure")> _
<SfcParentAttribute("UserDefinedDataType")> _
<SfcParentAttribute("UserDefinedTableType")> _
<SfcParentAttribute("UserDefinedFunctionParameter")> _
<SfcParentAttribute("View")> _
<SfcParentAttribute("XmlSchemaCollection")> _
<SfcParentAttribute("PartitionFunction")> _
<SfcParentAttribute("PartitionScheme")> _
<SfcParentAttribute("DatabaseDdlTrigger")> _
Public Property Parent As SqlSmoObject
Get
Set
'Usage
Dim instance As ExtendedProperty
Dim value As SqlSmoObject
value = instance.Parent
instance.Parent = value
[SfcParentAttribute("Table")]
[SfcParentAttribute("UserDefinedFunction")]
[SfcParentAttribute("NumberedStoredProcedureParameter")]
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
[SfcParentAttribute("Database")]
[SfcParentAttribute("SqlAssembly")]
[SfcParentAttribute("UserDefinedAggregate")]
[SfcParentAttribute("UserDefinedAggregateParameter")]
[SfcParentAttribute("UserDefinedType")]
[SfcParentAttribute("PlanGuide")]
[SfcParentAttribute("User")]
[SfcParentAttribute("Schema")]
[SfcParentAttribute("DatabaseRole")]
[SfcParentAttribute("ApplicationRole")]
[SfcParentAttribute("Column")]
[SfcParentAttribute("Trigger")]
[SfcParentAttribute("Check")]
[SfcParentAttribute("Index")]
[SfcParentAttribute("ForeignKey")]
[SfcParentAttribute("Default")]
[SfcParentAttribute("Rule")]
[SfcParentAttribute("Synonym")]
[SfcParentAttribute("Sequence")]
[SfcParentAttribute("StoredProcedure")]
[SfcParentAttribute("StoredProcedureParameter")]
[SfcParentAttribute("ExtendedStoredProcedure")]
[SfcParentAttribute("UserDefinedDataType")]
[SfcParentAttribute("UserDefinedTableType")]
[SfcParentAttribute("UserDefinedFunctionParameter")]
[SfcParentAttribute("View")]
[SfcParentAttribute("XmlSchemaCollection")]
[SfcParentAttribute("PartitionFunction")]
[SfcParentAttribute("PartitionScheme")]
[SfcParentAttribute("DatabaseDdlTrigger")]
public SqlSmoObject Parent { get; set; }
[SfcParentAttribute(L"Table")]
[SfcParentAttribute(L"UserDefinedFunction")]
[SfcParentAttribute(L"NumberedStoredProcedureParameter")]
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
[SfcParentAttribute(L"Database")]
[SfcParentAttribute(L"SqlAssembly")]
[SfcParentAttribute(L"UserDefinedAggregate")]
[SfcParentAttribute(L"UserDefinedAggregateParameter")]
[SfcParentAttribute(L"UserDefinedType")]
[SfcParentAttribute(L"PlanGuide")]
[SfcParentAttribute(L"User")]
[SfcParentAttribute(L"Schema")]
[SfcParentAttribute(L"DatabaseRole")]
[SfcParentAttribute(L"ApplicationRole")]
[SfcParentAttribute(L"Column")]
[SfcParentAttribute(L"Trigger")]
[SfcParentAttribute(L"Check")]
[SfcParentAttribute(L"Index")]
[SfcParentAttribute(L"ForeignKey")]
[SfcParentAttribute(L"Default")]
[SfcParentAttribute(L"Rule")]
[SfcParentAttribute(L"Synonym")]
[SfcParentAttribute(L"Sequence")]
[SfcParentAttribute(L"StoredProcedure")]
[SfcParentAttribute(L"StoredProcedureParameter")]
[SfcParentAttribute(L"ExtendedStoredProcedure")]
[SfcParentAttribute(L"UserDefinedDataType")]
[SfcParentAttribute(L"UserDefinedTableType")]
[SfcParentAttribute(L"UserDefinedFunctionParameter")]
[SfcParentAttribute(L"View")]
[SfcParentAttribute(L"XmlSchemaCollection")]
[SfcParentAttribute(L"PartitionFunction")]
[SfcParentAttribute(L"PartitionScheme")]
[SfcParentAttribute(L"DatabaseDdlTrigger")]
public:
property SqlSmoObject^ Parent {
SqlSmoObject^ get ();
void set (SqlSmoObject^ value);
}
[<SfcParentAttribute("Table")>]
[<SfcParentAttribute("UserDefinedFunction")>]
[<SfcParentAttribute("NumberedStoredProcedureParameter")>]
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
[<SfcParentAttribute("Database")>]
[<SfcParentAttribute("SqlAssembly")>]
[<SfcParentAttribute("UserDefinedAggregate")>]
[<SfcParentAttribute("UserDefinedAggregateParameter")>]
[<SfcParentAttribute("UserDefinedType")>]
[<SfcParentAttribute("PlanGuide")>]
[<SfcParentAttribute("User")>]
[<SfcParentAttribute("Schema")>]
[<SfcParentAttribute("DatabaseRole")>]
[<SfcParentAttribute("ApplicationRole")>]
[<SfcParentAttribute("Column")>]
[<SfcParentAttribute("Trigger")>]
[<SfcParentAttribute("Check")>]
[<SfcParentAttribute("Index")>]
[<SfcParentAttribute("ForeignKey")>]
[<SfcParentAttribute("Default")>]
[<SfcParentAttribute("Rule")>]
[<SfcParentAttribute("Synonym")>]
[<SfcParentAttribute("Sequence")>]
[<SfcParentAttribute("StoredProcedure")>]
[<SfcParentAttribute("StoredProcedureParameter")>]
[<SfcParentAttribute("ExtendedStoredProcedure")>]
[<SfcParentAttribute("UserDefinedDataType")>]
[<SfcParentAttribute("UserDefinedTableType")>]
[<SfcParentAttribute("UserDefinedFunctionParameter")>]
[<SfcParentAttribute("View")>]
[<SfcParentAttribute("XmlSchemaCollection")>]
[<SfcParentAttribute("PartitionFunction")>]
[<SfcParentAttribute("PartitionScheme")>]
[<SfcParentAttribute("DatabaseDdlTrigger")>]
member Parent : SqlSmoObject with get, set
function get Parent () : SqlSmoObject
function set Parent (value : SqlSmoObject)
Property Value
Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object value that specifies the parent of the ExtendedProperty object.