DataFile.Parent 屬性
Gets or sets the FileGroup object that is the parent of the DataFile object.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As FileGroup
Get
Set
'用途
Dim instance As DataFile
Dim value As FileGroup
value = instance.Parent
instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public FileGroup Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property FileGroup^ Parent {
FileGroup^ get ();
void set (FileGroup^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : FileGroup with get, set
function get Parent () : FileGroup
function set Parent (value : FileGroup)
屬性值
型別:Microsoft.SqlServer.Management.Smo.FileGroup
A FileGroup object value that specifies the parent of the DataFile object.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間