ElementFactoryCreate Method (String, String, String, String, NullableTimeSpan, NullableInt32) |
Creates a SolidFireElement object with parameters needed to create the underlying IRpcRequestDispatcher.
Namespace:
SolidFire.Element
Assembly:
SolidFire.SDK (in SolidFire.SDK.dll) Version: 12.3.0.0
Syntax public static SolidFireElement Create(
string target,
string username,
string password,
string version = null,
Nullable<TimeSpan> timeout = null,
Nullable<int> port = null
)
Parameters
- target
- Type: SystemString
IP Address of the cluster - username
- Type: SystemString
Cluster Admin Username - password
- Type: SystemString
Cluster Admin Password - version (Optional)
- Type: SystemString
Version of the API to connect to - timeout (Optional)
- Type: SystemNullableTimeSpan
Optional timeout parameter for the connection - port (Optional)
- Type: SystemNullableInt32
Optional parameter to set port value of connection
Return Value
Type:
SolidFireElementSee Also