core.Core.LoadServerSettings C# (CSharp) Méthode

LoadServerSettings() public méthode

Queries TableStore for server settings
public LoadServerSettings ( String partitionKey, String rowKey ) : ServerConfig
partitionKey String Partition key to query for
rowKey String Row key to query for
Résultat ServerConfig
        public ServerConfig LoadServerSettings(String partitionKey, String rowKey)
        {
            var retrieveOp = TableOperation.Retrieve<ServerConfig>(partitionKey, rowKey);
            var result = CredTable.Execute(retrieveOp);

            if (result.Result != null)
            {
                return (ServerConfig)result.Result;
            }
            return null;
        }