UserDefinedTableType クラス

UserDefinedTableType オブジェクトは、SQL Server のユーザー定義テーブル型を表します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)> _
<PhysicalFacetAttribute(PhysicalFacetOptions.ReadOnly)> _
Public NotInheritable Class UserDefinedTableType _
    Inherits TableViewTableTypeBase _
    Implements ICreatable, IAlterable, IRenamable, IDroppable,  _
    IScriptable, IExtendedProperties, IObjectPermission
'使用
Dim instance As UserDefinedTableType
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)]
[PhysicalFacetAttribute(PhysicalFacetOptions.ReadOnly)]
public sealed class UserDefinedTableType : TableViewTableTypeBase, 
    ICreatable, IAlterable, IRenamable, IDroppable, IScriptable, 
    IExtendedProperties, IObjectPermission
[EvaluationModeAttribute(AutomatedPolicyEvaluationMode::CheckOnSchedule)]
[PhysicalFacetAttribute(PhysicalFacetOptions::ReadOnly)]
public ref class UserDefinedTableType sealed : public TableViewTableTypeBase, 
    ICreatable, IAlterable, IRenamable, IDroppable, IScriptable, 
    IExtendedProperties, IObjectPermission
[<SealedAttribute>]
[<EvaluationModeAttribute(AutomatedPolicyEvaluationMode.CheckOnSchedule)>]
[<PhysicalFacetAttribute(PhysicalFacetOptions.ReadOnly)>]
type UserDefinedTableType =  
    class
        inherit TableViewTableTypeBase
        interface ICreatable
        interface IAlterable
        interface IRenamable
        interface IDroppable
        interface IScriptable
        interface IExtendedProperties
        interface IObjectPermission
    end
public final class UserDefinedTableType extends TableViewTableTypeBase implements ICreatable, IAlterable, IRenamable, IDroppable, IScriptable, IExtendedProperties, IObjectPermission

説明

UserDefinedTableType オブジェクトの権限を取得するには、固定サーバー ロール public のメンバでもかまいません。

UserDefinedTableType オブジェクト権限を設定するには、親データベースでの CREATE TYPE 権限および指定したスキーマに対する ALTER 権限が必要です。アセンブリを指定する場合は、アセンブリを所有しているか、またはアセンブリに対する REFERENCES 権限を持っている必要があります。

ユーザー定義テーブル型を作成するには、親データベースでの CREATE TYPE 権限および指定したスキーマに対する ALTER 権限が必要です。

ユーザー定義テーブル型を削除するには、その型に対する CONTROL 権限および指定したスキーマに対する ALTER 権限が必要です。

スレッド セーフ

この型の public static (Microsoft Visual Basic では Shared) のすべてのメンバーは、マルチスレッド操作で安全に使用できます。 インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。