| CloudNetworkServiceExtensionsListNetworks Method |
Lists all networks associated with the account.
Namespace: Rackspace.SynchronousAssembly: Rackspace (in Rackspace.dll) Version: 0.2.0+Branch.master.Sha.9ad6ce59ab4f7b2400f7a7c9c086aa1c5ea11c4e
Syntax public static IPage<Network> ListNetworks(
this CloudNetworkService cloudNetworkService,
Identifier startNetworkId = null,
Nullable<int> pageSize = null
)
<ExtensionAttribute>
Public Shared Function ListNetworks (
cloudNetworkService As CloudNetworkService,
Optional startNetworkId As Identifier = Nothing,
Optional pageSize As Nullable(Of Integer) = Nothing
) As IPage(Of Network)
public:
[ExtensionAttribute]
static IPage<Network^>^ ListNetworks(
CloudNetworkService^ cloudNetworkService,
Identifier^ startNetworkId = nullptr,
Nullable<int> pageSize = nullptr
)
[<ExtensionAttribute>]
static member ListNetworks :
cloudNetworkService : CloudNetworkService *
?startNetworkId : Identifier *
?pageSize : Nullable<int>
(* Defaults:
let _startNetworkId = defaultArg startNetworkId null
let _pageSize = defaultArg pageSize null
*)
-> IPage<Network>
Parameters
- cloudNetworkService
- Type: Rackspace.CloudNetworks.v2CloudNetworkService
- startNetworkId (Optional)
- Type: RackspaceIdentifier
- pageSize (Optional)
- Type: SystemNullableInt32
Return Value
Type:
IPageNetwork
A collection of network resources associated with the account.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
CloudNetworkService. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also