다음을 통해 공유


AdomdConnection.GetSchemaDataSet Method (String, String, AdomdRestrictionCollection)

Returns schema information from a data source by using a schema name and namespace to identify the information, and by applying any specified restrictions to the information.

네임스페이스: Microsoft.AnalysisServices.AdomdClient
어셈블리: Microsoft.AnalysisServices.AdomdClient (in microsoft.analysisservices.adomdclient.dll)

구문

‘선언
Public Function GetSchemaDataSet ( _
    schemaName As String, _
    schemaNamespace As String, _
    restrictions As AdomdRestrictionCollection _
) As DataSet
public DataSet GetSchemaDataSet (
    string schemaName,
    string schemaNamespace,
    AdomdRestrictionCollection restrictions
)
public:
DataSet^ GetSchemaDataSet (
    String^ schemaName, 
    String^ schemaNamespace, 
    AdomdRestrictionCollection^ restrictions
)
public DataSet GetSchemaDataSet (
    String schemaName, 
    String schemaNamespace, 
    AdomdRestrictionCollection restrictions
)
public function GetSchemaDataSet (
    schemaName : String, 
    schemaNamespace : String, 
    restrictions : AdomdRestrictionCollection
) : DataSet

매개 변수

  • schemaName
    The name of the schema to be retrieved.
  • schemaNamespace
    The name of the schema namespace to be retrieved.
  • restrictions
    A collection of AdomdRestriction objects that specifies the values for the restriction columns that the schema table uses.

반환 값

A DataSet that represents the contents of the specified OLE DB schema table.

주의

The schema table is returned as a DataSet that has the same format as the OLE DB schema rowset specified by the schemaName parameter. Use the restrictions parameter to filter the rows to be returned in the DataSet. (For example, you can specify restrictions for table name, type, owner, or schema.)

[!참고] If the schema contains nested rowsets, more tables may be returned in the DataSet.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

AdomdConnection Class
AdomdConnection Members
Microsoft.AnalysisServices.AdomdClient Namespace