CreateSchema
指定されたSharePoint テーブルまたはビューのスキーマ定義ファイルを生成し、ドキュメント化を支援します。
Stored Procedure-Specific Information
The CreateSchema stored procedure generates an RSD schema file for a SharePoint table. You can output the schema to a file using the FileName parameter, or retrieve the schema content as base64-encoded data using the FileData output.To generate a schema file and save it to disk, enter:
EXEC CreateSchema TableName = 'MyList', FileName = 'C:\schemas\MyList.rsd';
To retrieve the schema content as base64-encoded data, omit the FileName parameter:
EXEC CreateSchema TableName = 'MyList';
Input
| Name | Type | Required | Description |
| TableName | String | True | スキーマが生成されるSharePoint テーブルまたはビューの名前。 |
| FileName | String | False | 生成されたスキーマ(.rsd)ファイルを保存する完全なパスとファイル名。パスには親ディレクトリ、スキーマフォルダ(SharePoint)、および.rsd ファイル名を含める必要があります。例:'C:\\Users\\User\\Desktop\\SharePoint\\SharePoint\\SOAP\\sheet.rsd'。 |
Result Set Columns
| Name | Type | Description |
| Result | String | 操作のステータスを示し、Success またはFailure を返します。 |
| FileData | String | Base64 でエンコードされたスキーマファイルの内容。FileName およびFileStream が指定されていない場合にのみ返されます。 |