TypedDataSetGenerator.GetProviderName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the first provider name found in the provided input file.
Overloads
GetProviderName(String) |
Returns the first provider name found in the provided input file. |
GetProviderName(String, String) |
Returns the provider name for the |
Remarks
Returns the provider name.
GetProviderName(String)
Returns the first provider name found in the provided input file.
public:
static System::String ^ GetProviderName(System::String ^ inputFileContent);
public static string GetProviderName (string inputFileContent);
static member GetProviderName : string -> string
Public Shared Function GetProviderName (inputFileContent As String) As String
Parameters
Returns
A string that represents the specific provider for this DataSet.
Remarks
Important
Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.
This method returns the first provider name in the specified inputFileContent
.
Applies to
GetProviderName(String, String)
Returns the provider name for the tableName
in the input file.
public:
static System::String ^ GetProviderName(System::String ^ inputFileContent, System::String ^ tableName);
public static string GetProviderName (string inputFileContent, string tableName);
static member GetProviderName : string * string -> string
Public Shared Function GetProviderName (inputFileContent As String, tableName As String) As String
Parameters
- tableName
- String
A string that represents the name of the table to return the provider name from.
Returns
A string that represents the provider name for the specific table passed in to the tableName
parameter.
Remarks
Important
Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Validate All Inputs.
Returns the provider name for the given tableName
in the DataSet.