FromUrl() public static method

Gets a MongoServerSettings object intialized with values from a MongoUrl.
public static FromUrl ( MongoDB.Driver.MongoUrl url ) : MongoServerSettings
url MongoDB.Driver.MongoUrl The MongoUrl.
return MongoServerSettings
 public static MongoServer Create(MongoUrl url)
 {
     return(Create(MongoServerSettings.FromUrl(url)));
 }
 public MongoServerSettings ToServerSettings()
 {
     return(MongoServerSettings.FromUrl(this.ToMongoUrl()));
 }