Returns the parent TSqlObject, if it is within the specified DacQueryScopes scope and if there is only one TSqlObject that could be the parent for this object.
命名空間: Microsoft.SqlServer.Dac.Model
組件: Microsoft.SqlServer.Dac.Extensions (在 Microsoft.SqlServer.Dac.Extensions.dll 中)
語法
'宣告
Public Function GetParent ( _
queryScopes As DacQueryScopes _
) As TSqlObject
'用途
Dim instance As TSqlObject
Dim queryScopes As DacQueryScopes
Dim returnValue As TSqlObject
returnValue = instance.GetParent(queryScopes)
public TSqlObject GetParent(
DacQueryScopes queryScopes
)
public:
TSqlObject^ GetParent(
DacQueryScopes queryScopes
)
member GetParent :
queryScopes:DacQueryScopes -> TSqlObject
public function GetParent(
queryScopes : DacQueryScopes
) : TSqlObject
參數
- queryScopes
型別:Microsoft.SqlServer.Dac.Model.DacQueryScopes
DacQueryScopes defining the scope objects must exist in.
傳回值
型別:Microsoft.SqlServer.Dac.Model.TSqlObject
Parent object or else null.