Partager via


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

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).

See Also

Reference

PSUtility Class

PSUtility Members

Microsoft.Office.Project.Server.Library Namespace