次の方法で共有


DataType プロパティ

パラメーターに関連付けられたデータ型を取得します。値の設定も可能です。

この API は、CLS に準拠していません。 

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

構文

'宣言
<SfcReferenceAttribute(GetType(UserDefinedDataType), GetType(UserDefinedDataTypeResolver),  _
    "Resolve", )> _
<SfcReferenceAttribute(GetType(UserDefinedType), GetType(UserDefinedTypeResolver),  _
    "Resolve", )> _
<SfcReferenceAttribute(GetType(UserDefinedTableType), GetType(UserDefinedTableTypeResolver),  _
    "Resolve", )> _
<CLSCompliantAttribute(False)> _
<SfcPropertyAttribute(SfcPropertyFlags.Design)> _
Public Property DataType As DataType
    Get
    Set
'使用
Dim instance As ParameterBase
Dim value As DataType

value = instance.DataType

instance.DataType = value
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver), 
    "Resolve", )]
[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver), 
    "Resolve", )]
[SfcReferenceAttribute(typeof(UserDefinedTableType), typeof(UserDefinedTableTypeResolver), 
    "Resolve", )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.Design)]
public DataType DataType { get; set; }
[SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver), 
    L"Resolve", )]
[SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver), 
    L"Resolve", )]
[SfcReferenceAttribute(typeof(UserDefinedTableType), typeof(UserDefinedTableTypeResolver), 
    L"Resolve", )]
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags::Design)]
public:
property DataType^ DataType {
    DataType^ get ();
    void set (DataType^ value);
}
[<SfcReferenceAttribute(typeof(UserDefinedDataType), typeof(UserDefinedDataTypeResolver), 
    "Resolve", )>]
[<SfcReferenceAttribute(typeof(UserDefinedType), typeof(UserDefinedTypeResolver), 
    "Resolve", )>]
[<SfcReferenceAttribute(typeof(UserDefinedTableType), typeof(UserDefinedTableTypeResolver), 
    "Resolve", )>]
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.Design)>]
member DataType : DataType with get, set
function get DataType () : DataType
function set DataType (value : DataType)

プロパティ値

型: Microsoft.SqlServer.Management.Smo. . :: . .DataType
パラメーターに関連付けられたデータ型を示す DataType オブジェクト値です。

説明

スレッド セーフ

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