SqlSchemaModel.IsOwnedObjectType Method
Returns whether the type is a SchemaBound object.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Shared Function IsOwnedObjectType ( _
type As Type _
) As Boolean
'Usage
Dim type As Type
Dim returnValue As Boolean
returnValue = SqlSchemaModel.IsOwnedObjectType(type)
public static bool IsOwnedObjectType(
Type type
)
public:
static bool IsOwnedObjectType(
Type^ type
)
public static function IsOwnedObjectType(
type : Type
) : boolean
static member IsOwnedObjectType :
type:Type -> bool
Parameters
- type
Type: System.Type
The object type
Return Value
Type: System.Boolean
Returns True if the type is a SchemaBound object; otherwise, False.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.