ElementFactoryCreate Method (String, NetworkCredential, String, NullableTimeSpan, NullableInt32) |
Creates a SolidFireElement object with an existing NetworkCredential 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,
NetworkCredential credential,
string version = null,
Nullable<TimeSpan> timeout = null,
Nullable<int> port = null
)
Parameters
- target
- Type: SystemString
IP Address of the cluster - credential
- Type: System.NetNetworkCredential
Cluster Admin credential - 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:
SolidFireElementThe created SolidFireElement instance
See Also