내보내기(0) 인쇄
모두 확장

CloudTableClient.ListTables 메서드 (String)

Returns an enumerable collection of table names that begin with the specified prefix.

네임스페이스: Microsoft.WindowsAzure.StorageClient
어셈블리: Microsoft.WindowsAzure.StorageClient(microsoft.windowsazure.storageclient.dll)

‘사용 방법
Dim instance As CloudTableClient
Dim prefix As String
Dim returnValue As IEnumerable(Of String)

returnValue = instance.ListTables(prefix)

public IEnumerable<string> ListTables (
	string prefix
)
public IEnumerable<String> ListTables (
	String prefix
)
public function ListTables (
	prefix : String
) : IEnumerable<String>

매개 변수

prefix

The table name prefix.

반환 값

An enumerable collection of table names.

The following code example lists tables in the storage account that begin with the specified prefix.


public static void ListTablesByPrefix(CloudStorageAccount storageAccount, string prefix)
{
    // Create service client for credentialed access to the Table service.
    CloudTableClient tableClient = new CloudTableClient(storageAccount.TableEndpoint.ToString(),
        storageAccount.Credentials);
    // List the tables in this storage account.
    foreach (string tableName in tableClient.ListTables(prefix))
    {
        Console.WriteLine(tableName);
    }
}

The collection of table names is retrieved lazily.


이 형식의 모든 public static(Shared, Visual Basic의 경우) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

개발 플랫폼

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Server 2008 및 Windows 2000

대상 플랫폼

커뮤니티 추가 항목

표시:
© 2014 Microsoft