Editar

Partilhar via


Get-AzSynapseDataset

Gets information about datasets in workspace.

Syntax

Get-AzSynapseDataset
   -WorkspaceName <String>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzSynapseDataset
   -WorkspaceObject <PSSynapseWorkspace>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Get-AzSynapseDataset cmdlet gets information about datasets in workspace. If you specify the name of a dataset, this cmdlet gets information about that dataset. If you do not specify a name, this cmdlet gets information about all the datasets in the workspace.

Examples

Example 1

Get-AzSynapseDataset -WorkspaceName ContosoWorkspace

This command gets information about all datasets in the workspace named ContosoWorkspace.

Example 2

Get-AzSynapseDataset -WorkspaceName ContosoWorkspace -Name ContosoDataset

This command gets information about the dataset named ContosoDataset in the workspace named ContosoWorkspace.

Parameters

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

The dataset name.

Type:String
Aliases:DatasetName
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceName

Name of Synapse workspace.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceObject

workspace input object, usually passed through the pipeline.

Type:PSSynapseWorkspace
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Inputs

PSSynapseWorkspace

Outputs

PSDatasetResource