TypedDataSetGenerator.GetProviderName Method (String)

 

Returns the first provider name found in the provided input file.

Namespace:   System.Data.Design
Assembly:  System.Design (in System.Design.dll)

public static string GetProviderName(
	string inputFileContent
)

Parameters

inputFileContent
Type: System.String

A string that represents the XML schema to base the DataSet on.

Return Value

Type: System.String

A string that represents the specific provider for this DataSet.

System_CAPS_security Security Note

Calling this method with untrusted data is a security risk. Call this method only with trusted data. For more information, see Untrusted Data Security Risks.

This method returns the first provider name in the specified inputFileContent.

.NET Framework
Available since 2.0
Return to top
Show: