Server.Languages Server.Languages Server.Languages Property

정의

컬렉션을 나타냅니다 Language 개체입니다. Represents a collection of Language objects. Language 개체의 SQL Server 인스턴스에서 지 원하는 언어를 나타냅니다. Each Language object represents an languages supported by the instance of SQL Server.

public:
 property Microsoft::SqlServer::Management::Smo::LanguageCollection ^ Languages { Microsoft::SqlServer::Management::Smo::LanguageCollection ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ObjectContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Smo.Language))]
public Microsoft.SqlServer.Management.Smo.LanguageCollection Languages { get; }
Public ReadOnly Property Languages As LanguageCollection
속성 값

A LanguageCollection 모든 지원 되는 언어의 SQL Server 인스턴스에서 나타내는 개체입니다. A LanguageCollection object that represents all the languages supported by the instance of SQL Server.

예제

Visual BasicVisual Basic

'Connect to the local, default instance of SQL Server.  
Dim srv As Server  
srv = New Server  
'Display the supported languages.  
Dim lng As Language  
For Each lng In srv.Languages  
    Console.WriteLine(lng.Name)  
Next  

PowerShellPowerShell

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

설명

Languages 속성은 LanguageCollection 개체를 가리킵니다.The Languages property points to the LanguageCollection object. 컬렉션을 사용하여, SQL Server에서 지원되는 다양한 문자 언어를 참조할 수 있습니다.You can use the collection to reference the various written languages that are supported by SQL Server.

적용 대상