ODataWorkspace.Collections Property

Gets or sets the set of collections in the workspace.

Namespace:  Microsoft.Data.OData
Assembly:  Microsoft.Data.OData (in Microsoft.Data.OData.dll)

Syntax

'Declaration
Public Property Collections As IEnumerable(Of ODataResourceCollectionInfo)
    Get 
    Set
'Usage
Dim instance As ODataWorkspace 
Dim value As IEnumerable(Of ODataResourceCollectionInfo)

value = instance.Collections

instance.Collections = value
public IEnumerable<ODataResourceCollectionInfo> Collections { get; set; }
public:
property IEnumerable<ODataResourceCollectionInfo^>^ Collections {
    IEnumerable<ODataResourceCollectionInfo^>^ get ();
    void set (IEnumerable<ODataResourceCollectionInfo^>^ value);
}
member Collections : IEnumerable<ODataResourceCollectionInfo> with get, set
function get Collections () : IEnumerable<ODataResourceCollectionInfo>
function set Collections (value : IEnumerable<ODataResourceCollectionInfo>)

Property Value

Type: System.Collections.Generic.IEnumerable<ODataResourceCollectionInfo>
The set of collections in the workspace.

See Also

Reference

ODataWorkspace Class

Microsoft.Data.OData Namespace