Proprietà FileGroup.Parent
Gets or sets the parent Database object of the FileGroup object.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Database
Get
Set
'Utilizzo
Dim instance As FileGroup
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)
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.Database
A Database object value that is the parent of the FileGroup object.
Esempi
Utilizzo degli oggetti di database
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Management.Smo