PSUtility.TableHasColumn Method
Reserved for internal use.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function TableHasColumn ( _
dataSet As DataSet, _
tableName As String, _
columnName As String _
) As Boolean
'Usage
Dim dataSet As DataSet
Dim tableName As String
Dim columnName As String
Dim returnValue As Boolean
returnValue = dataSet.TableHasColumn(tableName, _
columnName)
public static bool TableHasColumn(
this DataSet dataSet,
string tableName,
string columnName
)
Parameters
- dataSet
Type: System.Data.DataSet
- tableName
Type: System.String
- columnName
Type: System.String
Return Value
Type: System.Boolean
Returns Boolean.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type DataSet. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=office.14) or https://msdn.microsoft.com/en-us/library/bb383977(v=office.14).