Dışarıya aktar (0) Yazdır
Tümünü Genişlet
EN
Bu içerik dilinizde bulunmamaktadır ancak İngilizce sürümüne buradan bakabilirsiniz.

CloudTableClient.CreateTablesFromModel Method

Updated: April 24, 2013

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Creates tables from a data model defined in code.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

'Kullanım
Dim serviceContextType As Type
Dim baseAddress As String
Dim credentials As StorageCredentials

CloudTableClient.CreateTablesFromModel(serviceContextType, baseAddress, credentials)

public static void CreateTablesFromModel (
	Type serviceContextType,
	string baseAddress,
	StorageCredentials credentials
)

Parameters

serviceContextType

Type: System.Type

The type of service context.

baseAddress

Type: System.String

The Table service endpoint to use to create the client.

credentials

Type: Microsoft.WindowsAzure.StorageCredentials

The account credentials.

It's now recommended that you use the CreateTable or CreateTableIfNotExist method to create a table, rather than CreateTablesFromModel. It is not necessary to create a custom class that is derived from TableServiceContext in order to work with Table service data.


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

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

 

Show:
© 2014 Microsoft