DeploymentContributorConfigurationSetup.OpenNewOutput Method
Returns a new output configuration file stream that is open for read and write.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Function OpenNewOutput ( _
partialFileName As String, _
metadata As IDictionary(Of String, String) _
) As Stream
public Stream OpenNewOutput(
string partialFileName,
IDictionary<string, string> metadata
)
public:
Stream^ OpenNewOutput(
String^ partialFileName,
IDictionary<String^, String^>^ metadata
)
member OpenNewOutput :
partialFileName:string *
metadata:IDictionary<string, string> -> Stream
public function OpenNewOutput(
partialFileName : String,
metadata : IDictionary<String, String>
) : Stream
Parameters
- partialFileName
Type: System.String
A partial file name.
- metadata
Type: System.Collections.Generic.IDictionary<String, String>
The metadata to be saved to the file.
Return Value
Type: System.IO.Stream
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The provided partialFileName parameter is nulla null reference (Nothing in Visual Basic) or an empty string. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.