문서를 영문으로 보려면 영문 확인란을 선택하세요. 마우스 포인터를 텍스트 위로 이동시켜 팝업 창에서 영문 텍스트를 표시할 수도 있습니다.
번역
영문

Server.SystemDataTypes 속성

Represents a collection of SystemDataType objects. Each SystemDataType object represents a system data type defined on the instance of SQL Server.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

[SfcObjectAttribute(SfcContainerRelationship.ObjectContainer, SfcContainerCardinality.ZeroToAny, 
	typeof(SystemDataType))]
public SystemDataTypeCollection SystemDataTypes { get; }

속성 값

유형: Microsoft.SqlServer.Management.Smo.SystemDataTypeCollection
A SystemDataTypeCollection object that represents all the system data types defined on the instance of SQL Server.

The SystemDataTypes property points to the SystemDataTypeCollection object. You can use the collection to reference the system data types that are available to the instance of SQL Server.

Visual Basic

'Connect to the local, default instance of SQL Server.
Dim srv As Server
srv = New Server
'Display the system data types.
Dim sr As SystemDataType
For Each sr In srv.SystemDataTypes
   Console.WriteLine(sr.Name)
Next

PowerShell

$srv = new-object Microsoft.SqlServer.Management.Smo.Server("(local)")
foreach ($sr in $srv.SystemDataTypes)
{
   Write-Host $sr.Name
}

커뮤니티 추가 항목

추가
표시: