Compartir a través de


XmlSchemaCollection.Parent Propiedad

Gets the Database object that is the parent of the XmlSchemaCollection object.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Database 
    Get 
    Set
'Uso
Dim instance As XmlSchemaCollection 
Dim value As Database 

value = instance.Parent

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

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo.Database
A Database object that is the parent of the XmlSchemaCollection object.

Ejemplos

Utilizar esquemas XML

Vea también

Referencia

XmlSchemaCollection Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Utilizar esquemas XML

Colecciones de esquemas XML (SQL Server)

CREATE SCHEMA (Transact-SQL)