NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

DataView.Open

Opens a DataView.

[Visual Basic]
Protected Sub Open()
[C#]
protected void Open();
[C++]
protected: void Open();
[JScript]
protected function Open();

Remarks

The method allows you to manually open the DataView in derived classes. Use the corresponding Close method to close the DataView.

Example [Visual Basic]

The following example checks the IsOpen property before invoking the Open method.

[Visual Basic]

Private Sub OpenDataView(ByRef dv As DataView)
   If dv.IsOpen Then Exit Sub
   dv.Open
End Sub

See Also

DataView Class | DataView Members | System.Data Namespace