UserDefinedDataType クラス

UserDefinedDataType オブジェクトは、SQL Server のユーザー定義データ型を表します。

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

構文

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

説明

UserDefinedDataType オブジェクトの権限を取得するには、固定サーバー ロール public のメンバでも可能です。

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

ユーザー定義データ型を作成するには、親データベースでの CREATE TYPE 権限および指定したスキーマに対する ALTER 権限が必要です。アセンブリを指定する場合は、アセンブリを所有しているか、またはアセンブリに対する REFERENCES 権限を持っている必要があります。

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

スレッド セーフ

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

スレッド セーフ

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