Propriedade do RDL Schema.Parent
Gets the Database object that is the parent of the Schema object.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)> _
Public Property Parent As Database
Get
Set
'Uso
Dim instance As Schema
Dim value As Database
value = instance.Parent
instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)]
public Database Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectFlags::Design)]
public:
property Database^ Parent {
Database^ get ();
void set (Database^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)>]
member Parent : Database with get, set
function get Parent () : Database
function set Parent (value : Database)
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.Database
A Database object that is the parent of the Schema object.
Exemplos
Criando, alterando e removendo esquemas
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo