Delen via


SmoCollectionBase.ValidateParentObject Method

Validates the parent object exists.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Protected Sub ValidateParentObject ( _
    obj As SqlSmoObject _
)
'Usage
Dim obj As SqlSmoObject 

Me.ValidateParentObject(obj)
protected void ValidateParentObject(
    SqlSmoObject obj
)
protected:
void ValidateParentObject(
    SqlSmoObject^ obj
)
member ValidateParentObject : 
        obj:SqlSmoObject -> unit
protected function ValidateParentObject(
    obj : SqlSmoObject
)

Parameters

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

SmoCollectionBase Class

Microsoft.SqlServer.Management.Smo Namespace