DeploymentProjectBuilder.GetUniqueFile Method
Generates a unique filename in the output directory.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Protected Function GetUniqueFile ( _
outputDirectory As DirectoryInfo, _
outputFilePrefix As String, _
partialFileName As String _
) As FileInfo
protected FileInfo GetUniqueFile(
DirectoryInfo outputDirectory,
string outputFilePrefix,
string partialFileName
)
protected:
FileInfo^ GetUniqueFile(
DirectoryInfo^ outputDirectory,
String^ outputFilePrefix,
String^ partialFileName
)
member GetUniqueFile :
outputDirectory:DirectoryInfo *
outputFilePrefix:string *
partialFileName:string -> FileInfo
protected function GetUniqueFile(
outputDirectory : DirectoryInfo,
outputFilePrefix : String,
partialFileName : String
) : FileInfo
Parameters
- outputDirectory
Type: System.IO.DirectoryInfo
- outputFilePrefix
Type: System.String
- partialFileName
Type: System.String
Return Value
Type: System.IO.FileInfo
Remarks
In turn calls DeploymentContributorConfigurationSetup.GetUniqueFile.
.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.